Description
I’ve added a codecov.yml to our repository with flags and still in every PR we get just the “project” and “patch” instead of getting the diff for each flag (peroject/app1, project/app2).
our yaml looks like:
coverage:
status:
project:
default: off
app1:
flags:
- app1
carryforward: true
app2:
flags:
- app2
carryforward: true
flags:
app1:
paths:
- apps/app1/
app2:
paths:
- apps/app2/
I’ve tested the validation of the file and its valid.
Also - in the codecov.io site in settings → yaml we can’t see our yml file even though its in the repository root directory.
we tried uploading the reports using:
./apps/app1/node_modules/codecov/bin/codecov -f apps/app1/coverage/lcov.info --flags app1
and also using:
bash <(curl -s https://codecov.io/bash) -f apps/app1/coverage/lcov.info -F app1
→ both from the root directory where the yaml file is located. in the bash upload log we get “Yaml found at: codecov.yml” and still it doesn’t show on the site and flags don’t show in our pr.