-
Notifications
You must be signed in to change notification settings - Fork 218
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
Error: failed to properly upload #598
Comments
Hi, I just got the same issue. Try regenerating a new secret token and change it in your settings > secrets. Hope this helps. |
@clementchadebec our repo is public, and we don't have a secret configured |
I'm getting a similar thing to #595 specifically on windows https://github.com/SwagLyrics/SwSpotify/runs/4785632314?check_suite_focus=true
|
|
Anyone has solved the issue? We are getting the same error. Our repository is also public. See this. |
I resolved the issue by changing the report extension to xml. I used to use |
We are getting this error on version
|
Had to rerun the workflow. It's up and running. Is it a Heisenbug? |
I had the same issue since today, generating a new token was pointless. Thank you very much @rafaelcalpena! |
Fixes failed upload? codecov/codecov-action#598
Make sure to run CodeCov with a version of PHPUnit that supports coverage for the used PHP version (e.g. not 8.5 with PHP8). This was the issue in our case. |
We get this 404 error from time to time. Rather annoying if you have There seem to be a few different "fixes" for this being posted here, but we're just having this problem intermittently for no apparent reason. |
Using |
There seems to be an issue with the >v0.1.15 src: codecov/codecov-action/issues/598
I ran into this error message on one project while having no errors on another similar project. Like many of the people here my errors look like this:
The final error message is a bit misleading though. The problem wasn't with the upload so much as the code coverage output file was missing, so there was nothing to process and upload. In my case one project had an older version of PHPUnit which couldn't generate the coverage output with my setup. The key error line is:
Then in previous steps I was able to diagnose why that file was missing. A good "fix" for this might be to change the final error message in this action so it more prominently displays that the code coverage file was missing, rather than just that there was an upload error . |
Send your test coverage file to
and pass this directory to codecov files argument:
The test step is probably cleaning the file before codecov start. |
I'm having the same issue. |
I just stopped using it. |
Would you mind giving a detailed example? |
Trying to fix the error ``` Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255 ``` codecov/codecov-action#598
Again, trying to fix the error ``` Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255 ``` codecov/codecov-action#598
I started running into this error again and moving to codecov-action@v4 fixed it! 🎉 |
CodeCov upload has been consistently failing when trying to upload coverage for a PR from a fork. This change updates CodeCov to v4 and sets the `CODECOV_TOKEN` env var in an attempt to fix this issue. See codecov/codecov-action#598
CodeCov upload has been consistently failing when trying to upload coverage for a PR from a fork. This change updates CodeCov to v4 and sets the `CODECOV_TOKEN` env var in an attempt to fix this issue. See codecov/codecov-action#598
## Relevant issue(s) Resolves #2668 ## Description I noticed that someone on the codecov repo mentioned that v4 fixed their issue codecov/codecov-action#598 (comment). Trying it :)
…op py3.7 See codecov/codecov-action#598 (comment) Signed-off-by: Stephen L. <[email protected]>
I started running again into this issue, and had to update to codecov-action@v4 as @RemDelaporteMathurin suggested. If after the update you still get the following error:
This is maybe because like me you defined the CODECOV_TOKEN as an environment variable instead of a repository secret. Go into |
Update codecov version to avoid error: codecov/codecov-action#598
Hi,
We are getting failed to properly upload errors in our codecov reports. This is a link to a failed report: test.
The error looks like this:
It looks like the same issue as #595. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: