File tree 2 files changed +19
-2
lines changed 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,28 @@ defaults: &defaults
36
36
- image : circleci/golang:1.12
37
37
38
38
jobs :
39
+ gobuild :
40
+ << : *defaults
41
+ steps :
42
+ - checkout
43
+ - *make_out_dirs
44
+ - *restore_gomod
45
+ - run :
46
+ command : make cmd/ipfs-try-build
47
+ environment :
48
+ TEST_NO_FUSE : 0
49
+ - run :
50
+ command : make cmd/ipfs-try-build
51
+ environment :
52
+ TEST_NO_FUSE : 1
53
+ - *store_gomod
39
54
gotest :
40
55
<< : *defaults
41
56
steps :
42
57
- checkout
43
58
- *make_out_dirs
44
59
- *restore_gomod
45
60
46
- - run : make cmd/ipfs-try-build
47
61
- run : |
48
62
make -j 1 test/unit/gotest.junit.xml \
49
63
&& [[ ! $(jq -s -c 'map(select(.Action == "fail")) | .[]' test/unit/gotest.json) ]]
@@ -96,5 +110,6 @@ workflows:
96
110
version : 2
97
111
test :
98
112
jobs :
113
+ - gobuild
99
114
- gotest
100
115
- sharness
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ test_go_test: $$(DEPS_GO)
46
46
$(GOCC ) test $(go-flags-with-tags ) $(GOTFLAGS ) ./...
47
47
.PHONY : test_go_test
48
48
49
+ test_go_build : $$(TEST_GO_BUILD )
50
+
49
51
test_go_short : GOTFLAGS += -test.short
50
52
test_go_short : test_go_test
51
53
.PHONY : test_go_short
@@ -54,7 +56,7 @@ test_go_race: GOTFLAGS += -race
54
56
test_go_race : test_go_test
55
57
.PHONY : test_go_race
56
58
57
- test_go_expensive : test_go_test $$( TEST_GO_BUILD )
59
+ test_go_expensive : test_go_test test_go_build
58
60
.PHONY : test_go_expensive
59
61
TEST_GO += test_go_expensive
60
62
You can’t perform that action at this time.
0 commit comments