send coverage to codacy

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

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

Loading…
Cancel
Save