-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: failure of coverage upload doesn't change job status #16379
CI: failure of coverage upload doesn't change job status #16379
Comments
There is a long standing upstream feature request for this here: codecov/codecov-action#926 It also links to many implemented workarounds, so I strongly suggest to adopt one of those instead (e.g. wrapping it all in a retry action) of waiting for an upstream, out-of-the box fix. This should be an easy starter issue for a newcomer. |
cc @rosteen since he was just struggling with this same problem over at |
Thanks for the info, @bsipocz ! I will investigate. |
Looking at the linked issue, I see two possible ways forward. Example implementations of each:
I am leaning towards Option 1 for both |
The first one is fine, I think basically anything is fine that avoids rerunning the tests because of an upload error. |
Huh, I think for |
@astrofrog reverted my attempt to address this at OpenAstronomy/github-actions-workflows#206 Also it never quite work because of a token failure that I cannot understand: #16535 So, for now, just check the logs diligently if you want to know if the upload really happened or not. |
Recently the coverage status upload ran into a github rate limit, but this didn't change the status of the job from green to red, instead generated false coverage % that sent us on a bit of a wild goose chase. Ideas how to improve CI:
The text was updated successfully, but these errors were encountered: