-
Notifications
You must be signed in to change notification settings - Fork 213
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 message: No coverage reports found #1712
Comments
@stefanofusai would you be able to do a |
Sure thing. Here's the output:
I'd like to point out that nothing changed in my workflow except upgrading to codecov 5 |
@stefanofusai yeah I figured. I just... I don't know why we aren't seeing the I would love to have an open source repro of this, but I realize that might not be possible. I think if you run |
Not sure either. Let me know if I can be of further help. |
Hey @thomasrockhu-codecov, just noticed that one of my OS repos also has the same problem since switching to
Compared to the last test run before migrating to Before uv projects:
After uv projects:
|
Hey @thomasrockhu-codecov, would you be able to take a look at this? |
@thomasrockhu-codecov I think that I have found the issue, it's due to https://github.com/codecov/codecov-cli/blob/8295b035779b3fc8f16149ff5a50dc2aa03b5f44/codecov_cli/services/upload/file_finder.py#L45 and the fact that In fact, when adding
And everything works fine. I am not sure why I wasn't getting this before... Let me know if you have any ideas/better ways to fix this! As you said, another fix is to generate the xml report but I didn't want to generate a duplicate coverage file if I already had generated the Edit: Unfortunately, even after uploading the reports (I can see them on the CodeCov website), my status checks are stuck: You can see it here with codecov-action@v4: stefanofusai/pyamldantic#49 |
Hello team,
Since upgrading from v4 to v5 I've been unable to upload coverage reports and status checks are always stuck in pending. Here are the logs I'm seeing:
Here's what my workflow file looks like:
My
pyproject.toml
tells pytest to generate coverage reports, and everything was working fine in with codecov-action v4:Let me know if I can provide more info!
The text was updated successfully, but these errors were encountered: