Skip to content

Commit

Permalink
Don't clear sets' temporary folders when the CI is set to "on disk"
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Jan 21, 2025
1 parent fb21550 commit 8438caf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions ci/test_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ def test_s2_mosaic(tmp_path):
mosaic.read_mtd()

# Clean everything
mosaic.clear()
mosaic.clean_tmp()
if not ON_DISK:
mosaic.clear()
mosaic.clean_tmp()


@s3_env
Expand Down
5 changes: 3 additions & 2 deletions ci/test_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ def _test_pair_core(paths: dict, tmp_path) -> None:
pair.read_mtd()

# Clean everything
pair.clear()
pair.clean_tmp()
if not ON_DISK:
pair.clear()
pair.clean_tmp()


@s3_env
Expand Down
5 changes: 3 additions & 2 deletions ci/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ def test_s2_series(tmp_path):
series.read_mtd()

# Clean everything
series.clear()
series.clean_tmp()
if not ON_DISK:
series.clear()
series.clean_tmp()


@s3_env
Expand Down

0 comments on commit 8438caf

Please sign in to comment.