ci: Generate coverage report
GitLab can visualize coverage reports 1 if they're generated with one of the supported formats, one of them being Cobertura 2.
Meson provides integration with several tools, with gcovr
being one of
them, which can also generate a coverage report in the Cobertura XML
format 3. Meson provides support to generate this report with the
custom coverage-xml
target, so let's use that so we get fancy coverage
reports.
Edited by Niels De Graef