We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cebfae8 commit a591563Copy full SHA for a591563
.circleci/config.yml
@@ -43,6 +43,22 @@ jobs:
43
fi
44
- run: go vet ./...
45
46
+ go-test:
47
+ executor: go
48
+ steps:
49
+ - checkout
50
+ - run: mkdir -p $TEST_RESULTS
51
+ - restore_cache: # restore cache from dev-build job
52
+ keys:
53
+ - go-getter-modcache-v1-{{ checksum "go.mod" }}
54
+ - run: |
55
+ PACKAGE_NAMES=$(go list ./...)
56
+ gotestsum --format=short-verbose --junitfile $TEST_RESULTS/gotestsum-report.xml -- $PACKAGE_NAMES
57
+ - store_test_results:
58
+ path: /tmp/test-results
59
+ - store_artifacts:
60
61
+
62
go-build:
63
executor: go
64
steps:
@@ -57,6 +73,9 @@ workflows:
73
test-and-build:
74
jobs:
75
- go-fmt-and-vet
76
+ - go-test:
77
+ requires:
78
+ - go-fmt-and-vet
79
- go-build:
80
requires:
81
0 commit comments