Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
The container registry cleanup task is now completed and the registry can be used normally.
Open sidebar
vadere
vadere
Commits
97fd9e91
Commit
97fd9e91
authored
Feb 25, 2019
by
Daniel Lehmberg
Browse files
test commit for coverage and regex
parent
a6d7cf61
Pipeline
#93554
failed with stages
in 44 minutes and 41 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Tools/ContinuousIntegration/collect_line_and_branch_coverage.py
View file @
97fd9e91
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment