Skip to content

Commit 3d82dd9

Browse files
committed
Reuse temp space
1 parent 3567740 commit 3d82dd9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/tests_scripts.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
4646
- name: test load_easybuild_module.sh script
4747
run: |
48+
export TMPDIR=$PWD
4849
# bind current directory into container as /software-layer-scripts
4950
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
5051
@@ -91,6 +92,7 @@ jobs:
9192
9293
- name: test install_software_layer.sh script
9394
run: |
95+
export TMPDIR=$PWD
9496
# bind current directory into container as /software-layer-scripts
9597
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
9698
# force using x86_64/generic, to avoid triggering an installation from scratch
@@ -105,6 +107,7 @@ jobs:
105107
106108
- name: test create_directory_tarballs.sh script
107109
run: |
110+
export TMPDIR=$PWD
108111
# bind current directory into container as /software-layer-scripts
109112
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
110113
@@ -119,6 +122,7 @@ jobs:
119122
120123
- name: test create_lmodsitepackage.py script
121124
run: |
125+
export TMPDIR=$PWD
122126
# bind current directory into container as /software-layer-scripts
123127
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
124128
@@ -149,7 +153,9 @@ jobs:
149153

150154
- name: Verify that mounted repositories are passed through directly
151155
run: |
156+
export TMPDIR=$PWD
152157
# run wrapper script + capture & check output
158+
export SINGULARITY_BIND="${PWD}:/software-layer-scripts"
153159
out="${PWD}/eb-${EB_VERSION}.out"
154160
./eessi_container.sh --access rw --mode run --verbose /software-layer-scripts/run_in_compat_layer_env.sh ls 2>&1 | tee ${out}
155161
echo $(grep "SINGULARITY_BIND" ${out})

0 commit comments

Comments
 (0)