diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d43635dae61193f986469ee6f9ef8a622afadfb1..7fb86dfa6563f11d02fccb9b3dda7f5d3ae9a5ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,6 +42,7 @@ coverage: extends: .go-cache script: - go run gotest.tools/gotestsum@latest --junitfile report.xml --format testname -- -coverprofile=coverage.txt -covermode count ./... + - sed -i '/jrpctest/d' coverage.txt - go tool cover -func=coverage.txt - go run github.com/boumenot/gocover-cobertura@master < coverage.txt > coverage.xml artifacts: