From 2cecb5b2d7a3e99667cbd3e586d8152025b302d6 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Thu, 21 Nov 2024 12:03:07 +0000 Subject: [PATCH] Try simplifying coverage regex --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8d344e84..5564c0fa5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ pytest: - export LANG=C # Hopefully detect anything relying on locale - python3 -m pip install ".[test]" - python3 -m pytest --color yes --verbose --cov=cal_tools --cov=xfel_calibrate --cov-report html:htmlcov --cov-report term - coverage: '/TOTAL.*? (100(?:\.0+)?\%\|[1-9]?\d(?:\.\d+)?\%)$/' + coverage: '/TOTAL.*? (\d+(?:\.\d+)?\%)$/' artifacts: expose_as: 'Coverage report' name: htmlcov -- GitLab