Skip to content
Snippets Groups Projects
Commit ebda2328 authored by Florian Schröder's avatar Florian Schröder
Browse files

Update regex for coverage report in GitLab CI

The regular expression used to extract the coverage percentage from the coverage report was updated. Due to modified output format of pytest, the regex pattern was not working correctly. It has been changed to ensure accurate extraction.
parent 6081f743
No related branches found
No related tags found
1 merge request!31Resolve "More test coverage"
Pipeline #47485 passed
......@@ -5,7 +5,7 @@ pytest:
- apt-get install -y python3-dev python3-pip graphviz graphviz-dev
- pip install '.[test]'
- pytest --cov --cov-report xml:coverage.xml
coverage: 'TOTAL.*\s+(\d+%)$'
coverage: '/TOTAL .*\s+(\d+%)$/'
artifacts:
reports:
coverage_report:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment