From ebda2328766f7dcdfef3504fb01d4d394be2851c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Schr=C3=B6der?= <fschroeder@techfak.uni-bielefeld.de> Date: Thu, 29 Feb 2024 11:10:18 +0100 Subject: [PATCH] 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. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffd80aba..19712951 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: -- GitLab