Skip to content

Commit b51a96a

Browse files
committed
Also check MODULEPATH
1 parent 37c7ed5 commit b51a96a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests_eessi_module.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
# EESSI_DEBUG_INIT only relevant for Lmod init
109109
unset EESSI_DEBUG_INIT
110110
# Store all relevant environment variables
111-
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${moduleoutfile}"
111+
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | sort > "${moduleoutfile}"
112112
module unload EESSI/${{matrix.EESSI_VERSION}}
113113
114114
# We should only have two EESSI_* variables defined (which set the overrides)
@@ -123,7 +123,8 @@ jobs:
123123
# source script version sets environment variables to force archdetect, ignore these
124124
unset EESSI_USE_ARCHSPEC
125125
unset EESSI_USE_ARCHDETECT
126-
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${sourceoutfile}"
126+
unset EESSI_ARCHDETECT_OPTIONS
127+
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | sort > "${sourceoutfile}"
127128
128129
# Now compare the two results
129130
echo ""

0 commit comments

Comments
 (0)