Skip to content
Snippets Groups Projects
Commit 5ef5f968 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'coverage-percentage-reporting' into 'main'

Fix coverage reporting

See merge request !12
parents da106f92 6124c1b7
No related branches found
No related tags found
1 merge request!12Fix coverage reporting
Pipeline #115021 waiting for manual action
Pipeline: C++ project

#115022

    ...@@ -76,6 +76,7 @@ test: ...@@ -76,6 +76,7 @@ test:
    - mkdir coverage - mkdir coverage
    - gcovr -r .. -e ../test/ -e ../src/main.cpp --txt --xml coverage.xml --html-details coverage/coverage.html - gcovr -r .. -e ../test/ -e ../src/main.cpp --txt --xml coverage.xml --html-details coverage/coverage.html
    - tar cfz coverage.tar.gz coverage/ - tar cfz coverage.tar.gz coverage/
    coverage: '/TOTAL.*?\ ([0-9\.]{1,}\%).*$/'
    artifacts: artifacts:
    paths: paths:
    # This will give a warning which is ok # This will give a warning which is ok
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment