Add overall report coverage number

This commit is contained in:
John Donaldson 2022-10-25 13:22:09 -07:00
parent 5720961e85
commit 15b04502df
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ test:
- go test -coverprofile=coverage.txt -covermode=atomic -race ./... - go test -coverprofile=coverage.txt -covermode=atomic -race ./...
- go get github.com/boumenot/gocover-cobertura - go get github.com/boumenot/gocover-cobertura
- go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml - go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml
coverage: /^coverage:\s(\d+(?:\.\d+)?%)/
artifacts: artifacts:
reports: reports:
coverage_report: coverage_report: