Switching to CircleCI

pull/187/head
Emir Pasic 2 years ago
parent dabe253199
commit 6b76fcbc81

@ -23,11 +23,13 @@ jobs:
name: Run tests
command: |
mkdir -p $TEST_RESULTS
go install gotest.tools/gotestsum@latest
go test -v ./... | go tool test2json > $TEST_RESULTS/test2json-output.json
gotestsum --junitfile $TEST_RESULTS/gotestsum-report.xml
- run:
name: Calculate test coverage
command: |
mkdir -p $TEST_RESULTS
go test -coverprofile=c.out ./... > /dev/null
go tool cover -html=c.out -o coverage.html
mv coverage.html $TEST_RESULTS

Loading…
Cancel
Save