Skip to content
Commit 18bcda27 authored by Kevin Mooney's avatar Kevin Mooney
Browse files

Add coverage stats to CI.

This patch adds a CI pipeline that builds the project with --coverage,
runs the unit tests and collects the coverage data with gcovr. A
coverage statistic is printed to the console log, which is extracted
with a regex. The current gitlab runners don't support SVE, so all
coverage statistics for files containing the string "sve" are excluded.

Unfortunately, gcovr's parser is unstable, so the docker image has been
fixed to a version that is known to work for us, in this case ubuntu
22.04.

Putting keywords in the the top section is deprecated, so all default
settings have been moved into a default section.

DEBIAN_FRONTENT=noninteractive is set, to prevent apt waiting for user
input.
parent 03a1a4c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment