From: Guillem Jover Date: Fri, 27 Oct 2023 22:47:26 +0000 (+0200) Subject: build: Add a coverage regex to the CI job X-Git-Tag: 0.11.8~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5ca0aae4ce26d0e2bb2a9f908ccdab84638574;p=thirdparty%2Flibbsd.git 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. --- 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