You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
- name: Upload coverage to Codecovuses: codecov/codecov-action@v4with:
directory: ./coverage/reports/files: ./coverage1.xml:unit,./coverage2.xml:e2e,!./cache # <- note the `:flag` after file pattern.# flags: unit,e2e
Or maybe someone else has another idea?
The text was updated successfully, but these errors were encountered:
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%
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?
The text was updated successfully, but these errors were encountered: