[calls] ci: Fix regex for reporting code coverage



commit 7402cae903c6a524476011082f539247bdfcadc1
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Wed Nov 24 14:07:37 2021 +0100

    ci: Fix regex for reporting code coverage
    
    We are now using gcovr instead of lcov after
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987818
    has been closed.
    
    The difference in output format tripped up reported code coverage in CI.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91752cc7..04add9ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,7 @@ test:native:
     - xvfb-run -s -noreset ninja -C _build test
     - cp _build/src/libcalls-vala.a.p/*.c _build
     - ninja -C _build coverage
-  coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
+  coverage: '/^lines:\s+([\d.]+\%)\s+/'
 
 build-gtkdoc:
   extends: build:native


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