Commit 4567e2f9 authored by Florian Klemme's avatar Florian Klemme
Browse files

Merge branch 'fklemme-master-patch-76935' into 'master'

Coverage Einstellungen

See merge request !1
parents d25c7f20 cdf3fe5b
Pipeline #71 passed with stages
in 2 minutes and 2 seconds
......@@ -3,4 +3,4 @@
.vscode/
# Build files
build/
\ No newline at end of file
build/
......@@ -20,8 +20,11 @@ test:
- cmake -S . -B build -D ENABLE_COVERAGE=ON
- cmake --build build
- (cd build && ctest)
- gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --exclude build/_deps/
- gcovr --root . --exclude test/ --exclude build/_deps/ --xml-pretty -o coverage.xml --print-summary
- gcovr --root . --exclude test/ --exclude build/_deps/ --html-details -o coverage.html
coverage: /^\s*lines:\s*\d+.\d+\%/
artifacts:
reports:
cobertura: coverage.xml
paths:
- coverage.*.html
Supports Markdown
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