diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc59a1b..4e6aea8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ test: - go test -coverprofile=coverage.txt -covermode=atomic -race ./... - go get github.com/boumenot/gocover-cobertura - go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml + coverage: /^coverage:\s(\d+(?:\.\d+)?%)/ artifacts: reports: coverage_report: