IAP GITLAB

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

finally save test-output as artiface for coverage job

parent f167f814
No related branches found
No related tags found
2 merge requests!234WIP: Initial example of python as script language from C++,!228finally save test-output as artiface for coverage job
Pipeline #1724 passed
...@@ -517,7 +517,7 @@ coverage: ...@@ -517,7 +517,7 @@ coverage:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Coverage - cmake .. -DCMAKE_BUILD_TYPE=Coverage
- cmake --build . -- -j4 - cmake --build . -- -j4
- ctest -j4 -V > test.log - ctest -j4 -VV | gzip -v -9 > test.log.gz
- cmake --build . --target coverage - cmake --build . --target coverage
- tar czf coverage-report.tar.gz coverage-report - tar czf coverage-report.tar.gz coverage-report
coverage: '/^.*functions\.+:\s(.*\%)\s/' coverage: '/^.*functions\.+:\s(.*\%)\s/'
...@@ -534,6 +534,7 @@ coverage: ...@@ -534,6 +534,7 @@ coverage:
when: always when: always
expire_in: 1 year expire_in: 1 year
paths: paths:
- ${CI_PROJECT_DIR}/build/test.log.gz
- ${CI_PROJECT_DIR}/build/coverage-report.tar.gz - ${CI_PROJECT_DIR}/build/coverage-report.tar.gz
cache: cache:
paths: paths:
......
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