mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
send coverage to codacy
This commit is contained in:
parent
86a5445f86
commit
3c38437b93
1 changed files with 4 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue