Commit d2a5bdef authored by Georg Krause's avatar Georg Krause

Generate coverage reports

parent fe14f7e0
Pipeline #388 passed with stages
in 2 minutes and 43 seconds
......@@ -51,10 +51,13 @@ test:
- build-test
script:
- ninja -C buildDir test
- ninja -C buildDir coverage
- gcovr -b -e buildDir/loopp@exe/catch.hpp -e buildDir/loopp@exe/test_ <&1 | tee buildDir/coverage.txt
artifacts:
paths:
- buildDir/coverage.txt
- buildDir/meson-logs/coveragereport
- buildDir/meson-logs/coverage.txt
reports:
junit: buildDir/junit.xml
coverage: '/^TOTAL.*\s+(\d+\%)$/'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment