Commit 97fd9e91 authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

test commit for coverage and regex

parent a6d7cf61
Pipeline #93554 failed with stages
in 44 minutes and 41 seconds
......@@ -47,7 +47,11 @@ def extract_line_and_branch_coverage(module_names):
# TODO: Regex seems be be broken on Windows CI worker. Find out why!
regex_pattern = re.compile(r"Total.*?([0-9]{1,3})\s?%.*?([0-9]{1,3})\s?%")
print(coverage_report)
match = regex_pattern.search(coverage_report)
exit()
if match:
line_coverage = float(match.group(1))
......
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