Skip to content

Commit ad294e4

Browse files
committed
Check CI is working as intended
1 parent e22aafe commit ad294e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests_eessi_module.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,19 @@ jobs:
192192
initial_env_file="initial_env.txt"
193193
module_cycled_file="load_unload_cycle.txt"
194194
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
196196
export MODULEPATH=init/modules:.github/workflows/modules
197197
module load fake_module
198198
module purge
199199
module unuse .github/workflows/modules
200200
module avail
201201
202+
203+
# Hack to make sure the test works
204+
export FAKE=1
202205
# Store the initial environment (ignoring Lmod tables)
203206
env | grep -v _ModuleTable | sort > "${initial_env_file}"
207+
unset FAKE
204208
205209
# Do (and undo) loading the EESSI module
206210
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)

0 commit comments

Comments
 (0)