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.
This commit is contained in:
Guillem Jover 2023-10-28 00:47:26 +02:00
parent 9d3e59a01d
commit 3f5ca0aae4

View File

@ -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