use pytest temporary dir factory to write some of the test hdf5 files and move all fixed hdf5 sample data files to tests/data#117
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
=======================================
Coverage 74.05% 74.05%
=======================================
Files 11 11
Lines 2598 2598
Branches 406 406
=======================================
Hits 1924 1924
Misses 565 565
Partials 109 109 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@valeriupredoi As I understood #108, we do not want to git ingest new data files, but instead create them while testing. |
|
I thought, pytest is cleaning this up. Maybe we should make sure to correctly configure this with pytest. |
|
Ah I thought there was something fishy about those files 🐟 I'll put them in a pytest's tmp dir then, will pop the changes here tomorrow 👍🍺 |
|
Insofar as these are the ones that I just created, and they are expected to be only ephemeral, this looks good to me. I take it this is the first of many (taking care that we don't remove all those where we are sure that what was created is no longer the same as what would be created now)? |
sorry, Bryan, I completely lost you there! I'll open a new PR to move the already existing and committed hdf5 files to a |
|
offline convo with @bnlawrence : store all the >1 year old HDF5 test files, have the newer ie a couple months or younger files be produced on the fly while the test is running (like here) |
|
ie these are the recent files: |
|
GH is hosed, more work tomorrow 🍺 |
tests/data
Description
The opaque dataset tests produce three HDF5 sample datasets that are currently git orphaned, I am adding them to version control; it'd be really nice if we collected all these sample datasets in a egtests/sample_datadirectory, rather than have them float around inside the mainteststest dir - created #118 for that.Using pytest's tmp dir factory to temporarily store those files, and not have them under version control.
Closes #118
Before you get started
Checklist