Skip to content

Commit ea72ceb

Browse files
committed
Update integration test Snakefile
1 parent 6e91b28 commit ea72ceb

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/integration/Snakefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ rule download_netherlands_shapes:
77
"Download and unzip the Netherlands shapes."
88
output:
99
"results/integration_test/resources/user/shapes/NLD.parquet",
10+
log:
11+
"results/integration_test/logs/download_netherlands_shapes.log",
12+
conda:
13+
"../../workflow/envs/shell.yaml"
1014
shell:
1115
"""
1216
curl -sSLo "{output}" "https://surfdrive.surf.nl/files/index.php/s/ey3RmiCbajp69oQ/download"
@@ -21,10 +25,14 @@ rule download_netherlands_protected_areas:
2125
output:
2226
zipfile="results/integration_test/resources/user/wdpa.gdb.zip",
2327
wdpa=directory("results/integration_test/resources/user/wdpa.gdb"),
28+
log:
29+
"results/integration_test/logs/download_netherlands_protected_areas.log",
30+
conda:
31+
"../../workflow/envs/shell.yaml"
2432
shell:
2533
"""
2634
curl -sSLo "{output.zipfile}" "https://surfdrive.surf.nl/files/index.php/s/msuXQETNbCWawDh/download"
27-
python "{input.script}" "{output.zipfile}" -t "results/integration_test/resources/user/"
35+
python "{input.script}" "{output.zipfile}" -t "results/integration_test/resources/user/" 2> "{log}"
2836
"""
2937

3038

0 commit comments

Comments
 (0)