Skip to content
Snippets Groups Projects
Commit 525ea921 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

coverage: print summary and generate cobertura report

parent e6125146
No related merge requests found
...@@ -1641,10 +1641,12 @@ coverage: ...@@ -1641,10 +1641,12 @@ coverage:
- cd .. - cd ..
- mkdir coverage - mkdir coverage
- pwd - pwd
- gcovr -r $CI_PROJECT_DIR -k build -f "src" --html --html-details -o coverage/coverage.html - gcovr -r $CI_PROJECT_DIR -k build -f "src" --print-summary --html coverage/coverage.html --html-details --xml coverage/coverage.xml
artifacts: artifacts:
paths: paths:
- coverage/ - coverage/
reports:
cobertura: coverage/coverage.xml
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
......
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