We've been seeing quite some upload failures for CodeCov over the past few months. There are a couple of issues open in their repo for this. In the mean time, let's try an limit the annoyance of having to restart builds by automatically retrying the upload when it fails.
The action runner used for this defaults to 2 retry attempts with a 0 second delay. This can be tweaked later if needs be.
We've been seeing quite some upload failures for CodeCov over the past few months. There are a couple of issues open in their repo for this. In the mean time, let's try an limit the annoyance of having to restart builds by automatically retrying the upload when it fails.
The action runner used for this defaults to 2 retry attempts with a 0 second delay. This can be tweaked later if needs be.
Ref: https://github.com/Wandalen/wretry.action