-
-
Notifications
You must be signed in to change notification settings - Fork 60
Codecov failing on 3.11 #463
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
Comments
Technically Codecov isn't failing, the pytest/coverage check is failing because there's less than 100% coverage for each individual build ( When all the coverage uploaded to Codecov and combined, the aggregate coverage is 100%. If we add
(Aside: PR #461 would have prevented me from running the above tests without (a) creating a spammy PR, (b) temporarily editing the workflow to allow the feature branch to run or (c) making the changes in htmlcov.zip is the output of running locally with |
Is there a reason why 3.10 and 3.11 report different coverage for the same code? |
That's a very good question... I've not seen these partial coverage results in Coverage.py before. It could be a new feature only in 3.11, or (more likely?) a bug in Coverage.py for 3.11, or possibly in Python 3.11 itself? |
This is what I'm wondering 🤔 All the issues seem to be with |
Maybe this bug is the cause? (I think it will be fixed in beta 2.) |
Good find! Using https://github.com/deadsnakes/action to test a nightly build of 3.11: hugovk@c045c8f And 3.11 passes with 100% coverage :) https://github.com/hugovk/bedevere/runs/6659010706?check_suite_focus=true#step:7:48 3.11 beta 2 is due today, so all should be good tomorrow or the day after when it reaches GitHub Actions. |
I'll leave this open for now and check back tomorrow to see if the issue is solved. |
It took yet another beta, but this seems now fixed. |
I remember a time when you had to wait a month before your next beta. Now? A dozen a day. Smdh. |
In https://github.com/python/bedevere/runs/6651826354?check_suite_focus=true the test fail because codecov doesn't reach 100%:
See full pytest output
This however only seems to affect 3.11.0-apha, and not the other Python versions. This should be fixed however -- apparently because of #462 -- the uploaded report doesn't include the failure:
See full codecov output
The text was updated successfully, but these errors were encountered: