-
Notifications
You must be signed in to change notification settings - Fork 137
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
Test fixes, avoid segfault at end #877
Conversation
0f9bba4
to
b261adb
Compare
Codecov Report
@@ Coverage Diff @@
## master #877 +/- ##
==========================================
- Coverage 73.36% 71.03% -2.34%
==========================================
Files 55 55
Lines 3720 3728 +8
==========================================
- Hits 2729 2648 -81
- Misses 991 1080 +89
Continue to review full report at Codecov.
|
4693177
to
66785f7
Compare
2d98f19
to
588e463
Compare
588e463
to
d1e86ad
Compare
@@ -44,7 +59,8 @@ jobs: | |||
- name: Test with pytest (macOS) | |||
if: runner.os == 'macOS' | |||
run: | | |||
pytest --cov=vorta | |||
pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a need to remove code coverage from macOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, pytest+coverage would hang indefinitely after successfully completing tests. Looks like you can't reliably have coverage + subprocesses (which we have). Using the pytest-cov plugin didn't help either.
Examples of "hung" tests:
Fixes #456
Fixes #748