IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 8f635a35 authored by Ralf Ulrich's avatar Ralf Ulrich
Browse files

Coverage ci

parent 3ca16061
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ coverage: # special manual job to run after normal pipeline finished
- ctest -j4 -V > test.log
- cmake --build . --target coverage
- tar czf coverage-report.tar.gz coverage-report
coverage: '/functions.*\s+(\d+\%)\s/'
coverage: '/^.*functions\.+:\s(.*\%)\s/'
artifacts:
expire_in: 1 year
paths:
......
......@@ -96,7 +96,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Coverage)
# remove uninteresting entries
add_custom_command (
OUTPUT coverage.info
COMMAND ${LCOV_BIN_DIR}/lcov --remove raw-coverage.info "*/usr/*" --output-file coverage2.info
COMMAND ${LCOV_BIN_DIR}/lcov -q --remove raw-coverage.info "*/usr/*" --output-file coverage2.info
COMMAND ${LCOV_BIN_DIR}/lcov --remove coverage2.info "*/ThirdParty/*" --output-file coverage.info
COMMAND ${CMAKE_COMMAND} -E remove coverage2.info
DEPENDS raw-coverage.info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment