Commit c91ef6cd authored by Paul Becotte's avatar Paul Becotte

The python regex fails if you add branch coverage to the report (different...

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.
parent 8b284a51
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
%code \(\d+.\d+\%\) covered %code \(\d+.\d+\%\) covered
%li %li
pytest-cov (Python) - pytest-cov (Python) -
%code ^TOTAL\s+\d+\s+\d+\s+(\d+\%)$ %code ^TOTAL.+?(\d+\%)$
%li %li
phpunit --coverage-text --colors=never (PHP) - phpunit --coverage-text --colors=never (PHP) -
%code ^\s*Lines:\s*\d+.\d+\% %code ^\s*Lines:\s*\d+.\d+\%
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment