-
Notifications
You must be signed in to change notification settings - Fork 1
Fixing flaky tests #70
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
Conversation
…e runners for the matrix
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #70 +/- ##
==========================================
- Coverage 88.16% 87.94% -0.23%
==========================================
Files 7 7
Lines 338 340 +2
==========================================
+ Hits 298 299 +1
- Misses 40 41 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
for more information, see https://pre-commit.ci
|
@hannahbaumann you'll want to build pooch from |
IAlibay
left a comment
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.
Couple of things, still looking into that positions thing.
|
|
||
|
|
||
| def test_universe_creation(simulation_nc, hybrid_system_pdb): | ||
| with pytest.warns(UserWarning, match="This is an older NetCDF file that"): |
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.
Do we still have a test somewhere to warn for the old netcdf file types?
If not, can we mock one?
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.
The old one was the one with >500MB, I added a new test test_determine_position_indices_warns_for_old_nc that mocks this and gives a warning.
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
@IAlibay : After I removed the different |
That means things aren't being deleted properly.. I'm not sure we can fix it in this PR, can you open an issue and we can revisit later? |
IAlibay
left a comment
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.
lgtm thanks!
just the one thing that needs to be done, will merge it directlt
Fixes #43 and #67
This PR: