Commit 632bafbb authored by Lukas Riedel's avatar Lukas Riedel

Improve layout of unit-tests job script

parent e483fcfc
......@@ -173,15 +173,20 @@ test:unit-tests:
- build:unit-tests
# install coverage reporter
- $DUNECONTROL --only=dorie bexec "./run-in-dune-env python3 -m pip install gcovr"
- $DUNECONTROL --only=dorie bexec
"./run-in-dune-env python3 -m pip install gcovr"
- $DUNECONTROL --only=dorie configure
- $DUNECONTROL --only=dorie make unit_tests
# report coverage
- 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-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 ../
- ./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