Commit 6dc6dbc8 authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

fix (for now) for the Python script

parent c951ddc1
......@@ -46,6 +46,12 @@ def extract_line_and_branch_coverage(module_names):
coverage_report =
# TODO: Regex seems be be broken on Windows CI worker. Find out why!
# This is a somewhat dirty fix for windows OS (I leave the todo open, if someone knows a cleaner solution.
# When parsing the html, there appear unicode(?) issues and in this case whitespaces are represented as Â\xa0
# I think this has something to do with it:
coverage_report = coverage_report.replace(\xa0', ' ')
regex_pattern = re.compile(r"Total.*?([0-9]{1,3})\s?%.*?([0-9]{1,3})\s?%")
match =
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