summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml27
1 files changed, 2 insertions, 25 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 39f39ceae..b913dcda2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,36 +35,13 @@ flatpak:master:
paths:
- .flatpak-builder/cache
-# Pick any distro to build the coverage
fedora:rawhide:
image: fedora:rawhide
stage: cross_distro
script:
- - dnf install -y 'dnf-command(builddep)' redhat-rpm-config gcovr
- # Waiting for gcovr 3.5 to be released.
- - pip install git+https://github.com/gcovr/gcovr.git
+ - dnf install -y 'dnf-command(builddep)' redhat-rpm-config
- dnf builddep -y nautilus
- - meson _build . -Db_coverage=true
- # Coverage data contains paths relative to the build directory,
- # so changing to it makes writing filter expressions easier.
- #
- # _build/src/ contains generated sources, so that is filtered out as well.
- - cd _build
- - ninja test
- - gcovr --root=.
- --exclude=src/
- --exclude=../data/
- --exclude=../eel/check-program.c
- --exclude=../eel/eel-debug.c
- --exclude=../eel/eel-lib-self-check-functions.c
- --exclude=../eel/eel-self-checks.c
- --exclude=../src/animation/
- --exclude=../src/gtk/
- --exclude=../src/nautilus-lib-self-check-functions.c
- --exclude=../src/nautilus-self-check-functions.c
- --exclude=../subprojects/libgd/
- --exclude=../test/
- coverage: '/^TOTAL.*\s+(\d+\%)$/'
+ <<: *distro_test
only:
- schedules
- web