Commit 4ed86f8c authored by Lukas Riedel's avatar Lukas Riedel

Add detailed coverage report in subdir test/coverage for unit tests

parent ca1d6fb8
......@@ -177,8 +177,11 @@ test:unit-tests:
- $DUNECONTROL --only=dorie configure
- $DUNECONTROL --only=dorie make unit_tests
# report coverage
- $DUNECONTROL --only=dorie bexec "./run-in-dune-env gcovr --root ../ --html -o coverage.html"
- $DUNECONTROL --only=dorie bexec "./run-in-dune-env gcovr --root ../"
- cd $CI_PROJECT_DIR/build-cmake
- mkdir -p test/coverage
- ./run-in-dune-env gcovr --root ../ --html --html-details -o test/coverage/coverage.html
# run again for coverage report in GitLab
- ./run-in-dune-env gcovr --root ../
coverage: '/^TOTAL.*\s+(\d+\%)$/'
# --- Deploy jobs ---
......
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