send coverage to codacy

pull/284/head
Simon Aronsson 6 years ago
parent 86a5445f86
commit 3c38437b93

@ -72,12 +72,11 @@ jobs:
steps:
- attach_workspace:
at: .
- run: mkdir -p /tmp/test-results
- run: go build ./...
- run: go get gotest.tools/gotestsum
- run: gotestsum --junitfile /tmp/test-results/unit-tests.xml
- store_test_results:
path: /tmp/test-results
- run: go get github.com/schrej/godacov
- run: go get -u github.com/haya14busa/goverage
- run: goverage -v -coverprofile=coverage.out ./...
- run: godacov -t $CODACY_TOKEN -r ./coverage.out -c $CIRCLE_SHA1
build:
executor: go
steps:

Loading…
Cancel
Save