[nautilus/csoriano-master-patch-66958] CI: Add coverage report



commit b573e1ab64e59b7d81e35afb8f394536c1b11e51
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Mon Aug 13 20:31:19 2018 +0000

    CI: Add coverage report

 .gitlab-ci.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eecb3da6b..e9fae93d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,21 @@ fedora:rawhide:
         - dnf install -y 'dnf-command(builddep)' redhat-rpm-config libseccomp-devel
         - dnf builddep -y nautilus
     <<: *distro_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+\%)$/'
+
     only:
         - schedules
         - web


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]