Skip to content

Commit 37c7ed5

Browse files
committed
Make sure loads/unloads are realistic
1 parent ad294e4 commit 37c7ed5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/tests_eessi_module.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,8 @@ jobs:
104104
# Turn on debug output in case we want to take a look
105105
export EESSI_DEBUG_INIT=true
106106
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)
107-
export EESSI_ARCHDETECT_OPTIONS_OVERRIDE="dummy/cpu:${CPU_ARCH}:dummy1/cpu1"
108107
module load EESSI/${{matrix.EESSI_VERSION}}
109-
# EESSI_ARCHDETECT_OPTIONS_OVERRIDE/EESSI_DEBUG_INIT only relevant for Lmod init
110-
unset EESSI_ARCHDETECT_OPTIONS_OVERRIDE
108+
# EESSI_DEBUG_INIT only relevant for Lmod init
111109
unset EESSI_DEBUG_INIT
112110
# Store all relevant environment variables
113111
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${moduleoutfile}"
@@ -199,12 +197,8 @@ jobs:
199197
module unuse .github/workflows/modules
200198
module avail
201199
202-
203-
# Hack to make sure the test works
204-
export FAKE=1
205200
# Store the initial environment (ignoring Lmod tables)
206201
env | grep -v _ModuleTable | sort > "${initial_env_file}"
207-
unset FAKE
208202
209203
# Do (and undo) loading the EESSI module
210204
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)

0 commit comments

Comments
 (0)