Fix coverage combination when other sources are removed
This commit is contained in:
parent
3b563a9987
commit
d9db73a8d9
1 changed files with 3 additions and 2 deletions
|
|
@ -148,8 +148,9 @@ combined-tests:
|
||||||
script:
|
script:
|
||||||
- ./picamera_tests.py unzip
|
- ./picamera_tests.py unzip
|
||||||
- coverage combine
|
- coverage combine
|
||||||
- coverage report
|
# Use -i to ignore file changing between the two runs. We check the relevant ones.
|
||||||
- coverage xml
|
- coverage report -i
|
||||||
|
- coverage xml -i
|
||||||
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue