diff options
author | Paul Becotte <pjbecotte@gmail.com> | 2019-07-22 17:32:23 +0300 |
---|---|---|
committer | Paul Becotte <pjbecotte@gmail.com> | 2019-07-22 17:32:23 +0300 |
commit | c91ef6cd6d1b2332b18c15017b2a8dc13cc1a391 (patch) | |
tree | cc133f4d537116f4808497f4b15a7895c50a8f84 /app/views/projects/settings | |
parent | 8b284a51c03d6ab0634f115b38014d5a87f73d57 (diff) |
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.
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r-- | app/views/projects/settings/ci_cd/_form.html.haml | 2 |
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+\% |