gstreamer-rs/ci
Guillaume Desmottes 01e1cfce54 ci: add coverage job
Uses the new llvm source-base coverage from nightly to generate coverage
reports:
- full html report as artifact
- cobertura report for gitlab MR integration
- output coverage summary for gitlab parsing

Here is the regexp to set in gitlab as "Test coverage parsing":
\s*lines\.*:\s*([\d\.]+%)

Ignore sys crates when calculating coverage are those are fully
generated anyway.

Resources:
- https://github.com/marco-c/rust-code-coverage-sample
- https://github.com/mozilla/grcov/issues/468#issuecomment-691615245
- https://www.greycastle.se/how-to-show-flutter-test-coverage-in-gitlab-ci/
2021-01-11 15:41:21 +01:00
..
env.sh ci: fix CARGO_HOME caching 2020-04-21 09:35:33 +00:00
images_template.yml ci: add coverage job 2021-01-11 15:41:21 +01:00
install-gst.sh ci: Build gstreamer from the 1.18 branch for now 2020-11-01 09:58:52 +02:00
install-rust.sh ci: add coverage job 2021-01-11 15:41:21 +01:00