[gssdp/wip/phako/ci] ci: Actually enable coverage in build



commit 9cc991e5a7c4fc1c8c85f64c7299a0c186dbd2ea
Author: Jens Georg <mail jensge org>
Date:   Sat May 22 12:27:31 2021 +0200

    ci: Actually enable coverage in build

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2026dd..e46ab81 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ stages:
 .build-template: &build
   stage: build
   script:
-      - meson . build --prefix=/usr
+      - meson . build --prefix=/usr -Db_coverage=true 
       - ninja -C build
   artifacts:
       expire_in: 1 day
@@ -107,7 +107,7 @@ coverage-analysis:
   script:
     - cd build
     - 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=../tools --exclude=../examples --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]