From 7402cae903c6a524476011082f539247bdfcadc1 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 24 Nov 2021 14:07:37 +0100 Subject: [PATCH] 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 91752cc..04add9e 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