From 3f5ca0aae4ce26d0e2bb2a9f908ccdab84638574 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 28 Oct 2023 00:47:26 +0200 Subject: [PATCH] build: Add a coverage regex to the CI job This is needed so that gitlab can know where to extract the coverage percentage from in the output, to be able to track and report it. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9e117f2..737297c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,7 @@ - ./autogen && ./configure --disable-static - make check CFLAGS="--coverage -O0 -ggdb" LDFLAGS="--coverage -O0 -ggdb" - gcovr -s -e test/ + coverage: /^TOTAL.*\s+(\d+\%)$/ .debian: image: debian:latest -- 2.47.3