Skip to content
Snippets Groups Projects
Verified Commit c173a8b0 authored by David Runge's avatar David Runge :chipmunk:
Browse files

Fix coverage reporting with gitlab CI

.gitlab-ci.yml:
Remove legacy keyword 'cobertura' and use the gitlab >= 15 based
`coverage_report` which is used to specify format and path to coverage
XML.
parent eab15c07
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,14 @@ test:
- tests/*
- .gitlab-ci.yml
- Makefile
coverage: '/TOTAL.*\s([.\d]+)%/'
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: build/coverage.xml
junit: build/junit-report.xml
cobertura: build/coverage.xml
build_install:
stage: test
......
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