Commit 76c14df2 authored by Lukas Riedel's avatar Lukas Riedel

Exclude actual test source files from final coverage report

parent 35dc5ae3
......@@ -160,11 +160,13 @@ test:unit-tests:
- mkdir -p dune/dorie/test/coverage
- ./run-in-dune-env gcovr
--root ../
--exclude ../dune/dorie/test
--html --html-details
-o dune/dorie/test/coverage/coverage.html
# run again for coverage report in GitLab
- ./run-in-dune-env gcovr
--root ../
--exclude ../dune/dorie/test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
name: "$CI_JOB_NAME"
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