-
Notifications
You must be signed in to change notification settings - Fork 440
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
Bump pytest-pyvista and fix image regression testing #3748
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3748 +/- ##
==========================================
+ Coverage 93.99% 94.00% +0.01%
==========================================
Files 82 82
Lines 18553 18553
==========================================
+ Hits 17439 17441 +2
+ Misses 1114 1112 -2 |
LGTM. I recommend waiting to merge this until a release of pytest-pyvista after pyvista/pytest-pyvista#19 is merged. We might find that we have failing tests once that happens since the image regression tests are currently broken. |
They should be working on CI actually as the |
Ah makes sense. Nevermind then. There may still be image regression issues, but not due to this. |
Raising an error for vtk8 was a costly one. There is some value to running the tests but not do the image cache test, but it is also dangerous for other users of pytest-pyvista who will assume the images are being compared. I can think of two paths forward. We could either revert that change in pytest-pyvista or skip testing this entire module (referring to Once these packages have settled together it would be great to run these tests inside pytest-pyvista to ensure we don't encounter these issues all the time. |
I think we should allow the option to skip tests, but default to raising an error. To me, this prevents unexpected behavior while providing easy flexibility opt-in. |
We need to get this merged soon as it is starting to hold up other PRs. See #3761. We need to merge pyvista/pytest-pyvista#26 and make a new release, unless there are other suggestions on how to fix. There are likely other image regressions that need to be fixed subsequently. |
This flag was pointing to |
Well, at least now we are actually getting image regression failures! |
I think this should get merged as a hotfix ASAP then we should implement pyvista/pytest-pyvista#22 and audit any image cache skipping or high variance settings in a follow up PR |
#3579 modified the |
I think we've gotten to a point where there are only a few tests are just failing the regression check on mostly Windows. It's a bit weird since the tests I checked haven't significantly changed recently. But it may be worth applying a skip windows or a high variance to those at this point. We might want to add "high_variance_windows" attributes in the future. |
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.
It passes!
Alright! Let's merge |
Adds the cache dir to the pytest ini options for pyvista/pytest-pyvista#19
cc @MatthewFlamm