summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2021-08-29 16:23:43 +0200
committerCarlos Garnacho <carlosg@gnome.org>2021-08-29 22:33:30 +0200
commit24c58d3313518f474d3ae3b39b69b1cb707ae3a8 (patch)
tree3d4e626fe9a4143da265636947d3a0bf103549d1 /.gitlab-ci.yml
parentc61ab74e5f0302668abfd23968876f61184dd0ac (diff)
downloadtracker-24c58d3313518f474d3ae3b39b69b1cb707ae3a8.tar.gz
ci: Exclude generated boilerplate in coverage checks
We don't care as much about the specific lines of glib-mkenums or gresource generated files that are being tested. Get these out of coverage output.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d3cc1229d..8bb04fcda 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -333,7 +333,7 @@ coverage-analysis:
- ninja
- env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}
- mkdir -p coveragereport
- - gcovr --html-details --print-summary --root=.. --exclude=../docs/reference --exclude=../tests --exclude=../utils --exclude=../examples --output coveragereport/index.html
+ - gcovr --html-details --print-summary --root=.. --exclude=../docs/reference --exclude=../tests --exclude=../utils --exclude=../examples --exclude=.*_gresources\.c --exclude=.*enum-types\.c --output coveragereport/index.html
coverage: '/^lines: (\d+\.\d+\%)/'
artifacts:
when: always