Skip to content

Commit b948015

Browse files
committed
Use SINGULARITY_CACHEDIR explicitly
1 parent 36ce78d commit b948015

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/tests_scripts.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: test load_easybuild_module.sh script
4747
run: |
48-
export TMPDIR=$PWD
48+
export SINGULARITY_CACHEDIR=$PWD
4949
# bind current directory into container as /software-layer-scripts
5050
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
5151
@@ -92,7 +92,7 @@ jobs:
9292
9393
- name: test install_software_layer.sh script
9494
run: |
95-
export TMPDIR=$PWD
95+
export SINGULARITY_CACHEDIR=$PWD
9696
# bind current directory into container as /software-layer-scripts
9797
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
9898
# force using x86_64/generic, to avoid triggering an installation from scratch
@@ -107,7 +107,7 @@ jobs:
107107
108108
- name: test create_directory_tarballs.sh script
109109
run: |
110-
export TMPDIR=$PWD
110+
export SINGULARITY_CACHEDIR=$PWD
111111
# bind current directory into container as /software-layer-scripts
112112
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
113113
@@ -122,7 +122,7 @@ jobs:
122122
123123
- name: test create_lmodsitepackage.py script
124124
run: |
125-
export TMPDIR=$PWD
125+
export SINGULARITY_CACHEDIR=$PWD
126126
# bind current directory into container as /software-layer-scripts
127127
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
128128
@@ -153,7 +153,7 @@ jobs:
153153

154154
- name: Verify that mounted repositories are passed through directly
155155
run: |
156-
export TMPDIR=$PWD
156+
export SINGULARITY_CACHEDIR=$PWD
157157
# run wrapper script + capture & check output
158158
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
159159
out="${PWD}/eb-${EB_VERSION}.out"

0 commit comments

Comments
 (0)