Commit 683973fe authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

WIP check for coverage

parent 97fd9e91
Pipeline #93556 failed with stages
in 2 minutes and 18 seconds
......@@ -48,16 +48,14 @@ 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?%")
match =
if match:
line_coverage = float(
branch_coverage = float(
module_to_coverage[module] = (line_coverage, branch_coverage)
raise Exception("Coverage data not found for module: {}".format(module))
return module_to_coverage
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