-
Notifications
You must be signed in to change notification settings - Fork 72
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
🧪 Fix Windows pytest CI runs #1153
Conversation
In #1067 I added coverage uploads. @PhilipPartsch has uncovered an issue with this; it appears at least in Windows if `pytest` fails it still progresses to the next command `coverage xml` and then if this runs ok it doesn't mark the job step as failing
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1153 +/- ##
=======================================
Coverage 85.92% 85.92%
=======================================
Files 56 56
Lines 6536 6536
=======================================
Hits 5616 5616
Misses 920 920
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Now I just need to fix the failures 😅 |
I have the fixes available at my privet PC at home. I can commit them in 12 hours. |
thanks! |
My fixes are here |
@PhilipPartsch for future knowledge, this is the root problem: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
Windows being window 😅 |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
for more information, see https://pre-commit.ci
In #1067 I added coverage uploads.
@PhilipPartsch has uncovered an issue with this; it appears at least in Windows if
pytest
fails it still progresses to the next commandcoverage xml
and then if this runs ok it doesn't mark the job step as failing 🤦