Skip to content

Uploading reports to codecov.io fails #53

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

Closed
oSoMoN opened this issue Apr 9, 2024 · 4 comments
Closed

Uploading reports to codecov.io fails #53

oSoMoN opened this issue Apr 9, 2024 · 4 comments

Comments

@oSoMoN
Copy link
Collaborator

oSoMoN commented Apr 9, 2024

This seems to be failing consistently, at least on pushes to branches in my fork and in PRs.

See e.g. https://github.com/uutils/diffutils/actions/runs/8620214427/job/23626651978?pr=52 :

[2024-04-09T18:03:30.811Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}

Could it be that the upload token has expired?

@sylvestre
Copy link
Collaborator

I added the token

@oSoMoN
Copy link
Collaborator Author

oSoMoN commented Apr 13, 2024

This appears to have worked for the test coverage of #52, but not for the latest run of #33.

@oSoMoN
Copy link
Collaborator Author

oSoMoN commented Apr 16, 2024

This is also failing when running the coverage workflow on main now: https://github.com/uutils/diffutils/actions/runs/8709074333/job/23887954052.

@oSoMoN
Copy link
Collaborator Author

oSoMoN commented Apr 16, 2024

It looks like the update to version 4 of the Codecov action (#9), together with the addition of the token as a secret, fixed the problem.

@oSoMoN oSoMoN closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants