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:
|
||||
- ./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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue