Skip to content

Commit

Permalink
Update conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato authored Oct 1, 2024
1 parent beadc73 commit ad073da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def _get_ns_attrs(request):

def get_params(stage: str, tmp: Path, **kwds):
"""Get stage parameters."""
for path in const.data.glob("uncompressed_*"):
rmtree(path)
if environ.get("CI"):
for path in const.data.glob("uncompressed_*"):
rmtree(path)
(tmp_e230920 := tmp / "e230920").mkdir(parents=True, exist_ok=True)
copy(const.data / "e230920" / "thermal.h5", tmp_e230920)
module = f"boilercv_pipeline.stages.{stage}"
Expand Down

0 comments on commit ad073da

Please sign in to comment.