ci: update no pragma for coverage

This commit is contained in:
appel_c 2024-11-19 09:14:58 +01:00 committed by wakonig_k
parent 2034539769
commit cd64d57c65

View File

@ -141,7 +141,7 @@ pytest:
stage: test
script:
- pip install coverage
- coverage run --source=./ophyd_devices -m pytest -v --junitxml=report.xml --random-order --full-trace ./tests
- coverage run --source=./ophyd_devices --omit=*/ophyd_devices/tests/* -m pytest -v --junitxml=report.xml --random-order --full-trace ./tests
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'