Skip to content
Snippets Groups Projects
Commit a9d8e281 authored by mkirsz's avatar mkirsz
Browse files

Merge branch 'feature/structure_readers' of...

Merge branch 'feature/structure_readers' of https://git.ecdf.ed.ac.uk/tadah/models into feature/structure_readers
parents 2fbbcef9 8870dbe3
No related branches found
No related tags found
No related merge requests found
Pipeline #53201 failed
...@@ -25,10 +25,24 @@ build_debug: ...@@ -25,10 +25,24 @@ build_debug:
run_unit_tests: run_unit_tests:
stage: run_unit_tests stage: run_unit_tests
script: script:
- cd ${DEBUG_DIR} - cd "${DEBUG_DIR}"
- make test - make test
- cd ..; gcovr -e '.*tests.*|.*lib.*|build' -r . # Return to the repo root so --root . aligns with actual paths:
coverage: /^TOTAL.*\s+(\d+\%)$/ - cd "${CI_PROJECT_DIR}"
# Run gcovr in a more permissive way:
- |
gcovr \
--root . \
--object-directory build/debug \
--exclude '.*CompilerIdCXX.*' \
--exclude '.*build\/debug\/CMakeFiles\/3.*' \
--exclude '.*CMakeFiles.*' \
--exclude 'tests' \
--exclude 'build' \
--exclude 'external' \
--gcov-ignore-errors=no_working_dir_found \
coverage: "/^TOTAL.*\\s+(\\d+\\%)$/"
build_release_shared: build_release_shared:
stage: build_release stage: build_release
......
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