Skip to content

Commit fa6314a

Browse files
committed
reverting back to the pytest relative path operations for ci github actions
1 parent 217b184 commit fa6314a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/pytest_pipeline_check.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def test_complete_processing_pipeline(dask_client, test_parameters):
125125
merged = merged.rename_dimension(target="x", source="lon")
126126

127127
# Use relative path for CI/CD compatibility
128-
output_path = "/app/test_data/"
128+
output_path = "./"
129129
os.makedirs(output_path, exist_ok=True)
130130

131131
zarr_path = os.path.join(
@@ -211,8 +211,8 @@ def test_end_to_end_pixel_model_pipeline(dask_client):
211211
target_var = "target_dataset"
212212

213213
# Use relative path for CI/CD compatibility
214-
output_dir = "/app/test_data/"
215-
os.makedirs(output_dir, exist_ok=True)
214+
output_dir = Path("")
215+
output_dir.mkdir(parents=True, exist_ok=True)
216216

217217
# Load STAC via openEO
218218
local_conn = LocalConnection("./")
@@ -281,4 +281,4 @@ def test_end_to_end_pixel_model_pipeline(dask_client):
281281
test_ds.to_zarr(test_out, mode="w")
282282
assert test_out.exists()
283283

284-
logger.info("End-to-end pipeline ran successfully and outputs are stored.")
284+
logger.info("End-to-end pipeline ran successfully and outputs are stored.")

0 commit comments

Comments
 (0)