mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
ci: Generate Cobertura XML and use it to feed gitlab for MR integration
gitlab has coverage integration in MRs, but we need a cobertura formatted XML files (each must be less than 10 MB) to show it, since meson generates it already via gcovr, we can just inform gitlab about it See https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization.html
This commit is contained in:
@@ -73,6 +73,9 @@ test:
|
|||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: "_build/meson-logs/testlog.junit.xml"
|
junit: "_build/meson-logs/testlog.junit.xml"
|
||||||
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: _build/meson-logs/coverage.xml
|
||||||
expose_as: 'Coverage Report'
|
expose_as: 'Coverage Report'
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user