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