diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8399bb2b879edb9af30706c3657f12307d0a4b39..05019ef69c899214acf116922c6bbb66d002319c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -189,14 +189,18 @@ coverage_job: - e2e_tests - unittest_py3.13 script: + # Setup - ls -alrth . coverage - pip install --root-user-action=ignore pytest-cov - pip install --no-deps . + # Merging and report generation - coverage combine coverage/* - coverage html - mv htmlcov public + # Output for the pipeline follows - echo -e "To look at the coverage report, either download the artifact or go to:\n > https://docs.indiscale.com/customers/f-fit/ruqad/" - coverage report + # Regex taken from https://docs.gitlab.com/ee/ci/testing/code_coverage.html#test-coverage-examples coverage: '/TOTAL.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' pages: true artifacts: