Fix coverage combination when other sources are removed

This commit is contained in:
Julian Stirling 2025-07-30 15:12:21 +01:00
parent 3b563a9987
commit d9db73a8d9

View file

@ -148,8 +148,9 @@ combined-tests:
script:
- ./picamera_tests.py unzip
- coverage combine
- coverage report
- coverage xml
# Use -i to ignore file changing between the two runs. We check the relevant ones.
- coverage report -i
- coverage xml -i
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
when: always