ci: GHA: use scripts/report-coverage.sh#6553
Conversation
|
TBH I prefer using the action instead of a custom script, so I'm -0 (but not completely opposed). |
|
@nicoddemus |
This should make it obvious if missing coverage is due to the upload having failed. Using pytest-dev#6553 would be an alternative, but this can be used already if that takes longer. Ref: pytest-dev#6463 (comment)
This should make it obvious if missing coverage is due to the upload having failed. Using pytest-dev#6553 would be an alternative, but this can be used already if that takes longer. Ref: pytest-dev#6463 (comment)
|
Alternative: #6560 - but failed on the first run already, and then the 2nd..! |
b5f9b8e to
e5a362d
Compare
|
Actually it does retries automatically, I've seen it sleeping for 30s a number of times before trying to upload again before codecov doesn't respond.
Not sure if you mean the yaml configuration or the action code itself.
But this is temporary, I hope. Which would be fine to narrow down why GH action coverage is less than Travis. Like I said, I'm -0 on this, so please go ahead if think it is better. 👍 |
The JS code (the action).
Well, it also is helpful to have it failing. As seen in #6560 it failed twice in a row, which likely is the reason for flaky coverage. |
This allows for more control, e.g.
-X fixwith codecov-bash, and it has all the coverage-calls we need already etc.