The source project of this merge request has been removed.
Docs: adjust code coverage regex to the syntax that is supported
What does this MR do and why?
The coverage:
keyword do not use the regex syntax you would expect.
For example, if you want to catch both 100.0%
and 100%
,
coverage: '/Code coverage: \d+(\.\d+)?/'
will not work and with catch nothing. you have to use
coverage: '/Code coverage: \d+(?:\.\d+)?/'
since it is a common use case and is not trivial and also not documented, the example should include this.
The same for the other apperances.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.