CI: fix coverage regex

Use exactly the same regex as in BPO where this works.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2609
This commit is contained in:
Oliver Smith 2025-05-25 11:55:27 +02:00
parent 7ca76314cd
commit cdb51686c3
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -52,7 +52,7 @@ pytest:
after_script:
- "cp /home/build/.local/var/pmbootstrap/log_testsuite.txt ."
- "cp /home/build/.local/var/pmbootstrap/log.txt ."
coverage: '/TOTAL.*? (100(?:\.0+)?\%\|[1-9]?\d(?:\.\d+)?\%)$/'
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
when: always
paths: