File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -192,15 +192,19 @@ jobs:
192
192
initial_env_file="initial_env.txt"
193
193
module_cycled_file="load_unload_cycle.txt"
194
194
195
- # prepare Lmod, resetting it in a roundabout given we don't want defaults set
195
+ # prepare Lmod, resetting it in a roundabout way given we don't want defaults set
196
196
export MODULEPATH=init/modules:.github/workflows/modules
197
197
module load fake_module
198
198
module purge
199
199
module unuse .github/workflows/modules
200
200
module avail
201
201
202
+
203
+ # Hack to make sure the test works
204
+ export FAKE=1
202
205
# Store the initial environment (ignoring Lmod tables)
203
206
env | grep -v _ModuleTable | sort > "${initial_env_file}"
207
+ unset FAKE
204
208
205
209
# Do (and undo) loading the EESSI module
206
210
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)
You can’t perform that action at this time.
0 commit comments