feedback
feedback copied to clipboard
`!` pattern not working with `ignore:`
Describe the bug
ignore:
- !Sources/
in codecov.yml produces:
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!Sources/'
in "<unicode string>", line 2, column 5:
- !Sources/
^
Environment (please complete the following information):
- System: GitHub CI.
To Reproduce
See https://github.com/hylo-lang/Swifty-LLVM/actions/runs/9132968118/job/25115449559?pr=73#step:17:56
You can clone the project and run it yourself if you want to reproduce.
Expected behavior
All paths other than those beginning with Sources/ are ignored.
Never mind; it just needed to be quoted.
ignore:
- '!Sources/'
@rohan-at-sentry Related to this and Dave's other regex - docs related issues, https://github.com/codecov/shared/blob/f17719ac12d8e8bf60c7b51af5716b001ccdff0e/shared/validation/helpers.py#L223-L225 Seems well written. Possiby could be of help in re-writing the docs.
@dabrahams I'm going to re-open this so we address the confusion here in the docs.
The way y'all have responded to my filed issues is very gratifying and makes reporting them worthwhile. Keep up the great work!