summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Becotte <pjbecotte@gmail.com>2019-07-22 14:32:23 +0000
committerPaul Becotte <pjbecotte@gmail.com>2019-07-22 14:32:23 +0000
commitc91ef6cd6d1b2332b18c15017b2a8dc13cc1a391 (patch)
treecc133f4d537116f4808497f4b15a7895c50a8f84
parent8b284a51c03d6ab0634f115b38014d5a87f73d57 (diff)
downloadgitlab-ce-c91ef6cd6d1b2332b18c15017b2a8dc13cc1a391.tar.gz
The python regex fails if you add branch coverage to the report (different number of digit blocks). Don't think there's any downside in handling any number of digit blocks so long as it starts with TOTAL and ends with a percentage.
-rw-r--r--app/views/projects/settings/ci_cd/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/ci_cd/_form.html.haml b/app/views/projects/settings/ci_cd/_form.html.haml
index 2d108a1cba5..498a9744783 100644
--- a/app/views/projects/settings/ci_cd/_form.html.haml
+++ b/app/views/projects/settings/ci_cd/_form.html.haml
@@ -99,7 +99,7 @@
%code \(\d+.\d+\%\) covered
%li
pytest-cov (Python) -
- %code ^TOTAL\s+\d+\s+\d+\s+(\d+\%)$
+ %code ^TOTAL.+?(\d+\%)$
%li
phpunit --coverage-text --colors=never (PHP) -
%code ^\s*Lines:\s*\d+.\d+\%