Skip to content
Snippets Groups Projects
Verified Commit 373b6665 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

ci: add coverage regex

parent af6710dc
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ test-all:
- go test $(go list ./... | grep -v api/docs) -coverprofile=coverage.out -covermode count
- go get github.com/boumenot/gocover-cobertura
- go run github.com/boumenot/gocover-cobertura < coverage.out > coverage.xml
coverage: '/^coverage: (\d+.\d+)% of statements$/'
artifacts:
reports:
coverage_report:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment