summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b13e81..e82a737 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,7 +66,7 @@ build:
script:
## && true to make gitlab-ci happy
- source scl_source enable rh-python36 && true
- - meson --werror --warnlevel 2 -Dgtk_doc=enabled --prefix=$PREFIX build/
+ - meson --werror --warnlevel 2 -Dgtk_doc=enabled --prefix=$PREFIX -Db_coverage=true build/
- ninja -C build/
artifacts:
paths:
@@ -239,6 +239,8 @@ test:
- source scl_source enable rh-python36 && true
- ninja -C build/
- meson test -C build/ --setup debug
+ - ninja -C build coverage
+ coverage: '/lines......: \d+\.\d+% /'
artifacts:
reports:
junit: build/meson-logs/testlog-*.junit.xml