File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ elif [ "${CONTAINER}" == "docker" ]; then
6565elif [ " ${CONTAINER} " == " podman" ]; then
6666 podman pull docker.io/node:slim
6767elif [ " ${CONTAINER} " == " singularity" ]; then
68- export CWL_SINGULARITY_CACHE =" $SCRIPT_DIRECTORY /sifcache"
69- mkdir --parents " ${CWL_SINGULARITY_CACHE } "
68+ export CWL_SINGULARITY_IMAGES =" $SCRIPT_DIRECTORY /sifcache"
69+ mkdir --parents " ${CWL_SINGULARITY_IMAGES } "
7070fi
7171
7272# Setup environment
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def test_podman_required_secfile(tmp_path: Path) -> None:
185185def test_singularity_required_secfile (tmp_path : Path , monkeypatch : pytest .MonkeyPatch ) -> None :
186186 singularity_dir = tmp_path / "singularity"
187187 singularity_dir .mkdir ()
188- monkeypatch .setenv ("CWL_SINGULARITY_CACHE " , str (singularity_dir ))
188+ monkeypatch .setenv ("CWL_SINGULARITY_IMAGES " , str (singularity_dir ))
189189
190190 result_code , stdout , stderr = get_main_output (
191191 [
@@ -247,7 +247,7 @@ def test_singularity_required_missing_secfile(
247247) -> None :
248248 singularity_dir = tmp_path / "singularity"
249249 singularity_dir .mkdir ()
250- monkeypatch .setenv ("CWL_SINGULARITY_CACHE " , str (singularity_dir ))
250+ monkeypatch .setenv ("CWL_SINGULARITY_IMAGES " , str (singularity_dir ))
251251 result_code , stdout , stderr = get_main_output (
252252 [
253253 "--singularity" ,
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ def test_iwdr_permutations_singularity(
275275 twelfth .touch ()
276276 outdir = str (tmp_path_factory .mktemp ("outdir" ))
277277 singularity_dir = str (tmp_path_factory .mktemp ("singularity" ))
278- monkeypatch .setenv ("CWL_SINGULARITY_CACHE " , singularity_dir )
278+ monkeypatch .setenv ("CWL_SINGULARITY_IMAGES " , singularity_dir )
279279 err_code , stdout , _ = get_main_output (
280280 [
281281 "--outdir" ,
@@ -340,7 +340,7 @@ def test_iwdr_permutations_singularity_inplace(
340340 twelfth .touch ()
341341 outdir = str (tmp_path_factory .mktemp ("outdir" ))
342342 singularity_dir = str (tmp_path_factory .mktemp ("singularity" ))
343- monkeypatch .setenv ("CWL_SINGULARITY_CACHE " , singularity_dir )
343+ monkeypatch .setenv ("CWL_SINGULARITY_IMAGES " , singularity_dir )
344344 assert (
345345 main (
346346 [
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def test_value_from_two_concatenated_expressions_singularity(
109109 factory .loading_context .debug = True
110110 factory .runtime_context .debug = True
111111 with monkeypatch .context () as m :
112- m .setenv ("CWL_SINGULARITY_CACHE " , str (singularity_cache ))
112+ m .setenv ("CWL_SINGULARITY_IMAGES " , str (singularity_cache ))
113113 m .setenv ("PATH" , new_paths )
114114 echo = factory .make (get_data ("tests/wf/vf-concat.cwl" ))
115115 file = {"class" : "File" , "location" : get_data ("tests/wf/whale.txt" )}
You can’t perform that action at this time.
0 commit comments