Open ssbarnea opened 1 month ago
Not totally sure about the intent... But I'm facing a similar issue. My issue is that with the current codecov action, I'm not able to upload coverage for each packages (flagged): ie: flag-lib1: coverage 90%, flag-lib2: coverage: 81%
I have a nodejs monorepo setup: https://github.com/belgattitude/httpx
.
└── packages
│── assert
└── coverage/clover.xml
│── dsn-parser
└── coverage/clover.xml
│── exception
└── coverage/clover.xml
└── plain-object
└── coverage/clover.xml
- codecov.yml
In my codecov.yml, I've set up the flags for each packages
I was expecting the codecov action to read paths assicated to the flags... but it actually doesn't.
So to be able to get covergae independently, I have to upload multiple times with each flags.
It would be nice to have a better way to do
PS: I have done it with the cli, but it does not work anymore (complains about missing token..., or rate limits)
Current way to define flags forces them to apply to all files part of a single upload step. Ideally the flags should be per file and not per upload action.
This makes Github Actions definition much harder to manage as we are forced to add extra calls to the upload action, especially as GHA does not have any support for looping.
It would be far more flexible if we could so something like:
Or maybe someone else has another idea?