[tracker/wip/carlosg/test: 9/13] ci: Exclude generated boilerplate in coverage checks
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/test: 9/13] ci: Exclude generated boilerplate in coverage checks
- Date: Sun, 29 Aug 2021 21:08:20 +0000 (UTC)
commit 24c58d3313518f474d3ae3b39b69b1cb707ae3a8
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 29 16:23:43 2021 +0200
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.
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]