[tracker/wip/carlosg/more-tests: 6/9] ci: Ignore example C files in documentation for Coverage




commit dfa15cb1208dd6efdb4be00fd2d0fcf48faf65f9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Sep 28 18:34:52 2020 +0200

    ci: Ignore example C files in documentation for Coverage
    
    These files are not tested, just build-checked. We don't intend these
    to be tested either.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a592dd59..bddf55dca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,7 +71,7 @@ coverage-analysis:
     - su tracker -c 'cd coverage-build; meson .. -Db_lto=true -Db_coverage=true'
     - su tracker -c 'cd coverage-build; ninja'
     - su tracker -c 'cd coverage-build; env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session eatmydata meson 
test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}'
-    - su tracker -c 'cd coverage-build; gcovr --root=.. --exclude=../tests --exclude=../utils 
--exclude=../examples'
+    - su tracker -c 'cd coverage-build; gcovr --root=.. --exclude=../docs/reference --exclude=../tests 
--exclude=../utils --exclude=../examples'
   coverage: '/^TOTAL.*\s+(\d+\%)$/'
 
 coverity:


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