Skip to content

Commit

Permalink
Use the same regex everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 16, 2024
1 parent 87c6cdf commit 9132662
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests_eessi_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
# source script version sets environment variables to force archdetect, ignore these
unset EESSI_USE_ARCHSPEC
unset EESSI_USE_ARCHDETECT
env | grep -E '^EESSI_' | sort > "${sourceoutfile}"
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${sourceoutfile}"
# Now compare the two results
echo ""
Expand Down Expand Up @@ -170,14 +170,14 @@ jobs:
module_cycled_file="load_unload_cycle.txt"
# Store the initial environment
env | grep -E '^EESSI_' | sort > "${initial_env_file}"
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${initial_env_file}"
# Do (and undo) loading the EESSI module
export MODULEPATH=init/modules
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)
module load EESSI/${{matrix.EESSI_VERSION}}
module unload EESSI/${{matrix.EESSI_VERSION}}
env | grep -E '^EESSI_' | sort > "${module_cycled_file}"
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH)' | sort > "${module_cycled_file}"
# Now compare the two results
echo ""
Expand Down

0 comments on commit 9132662

Please sign in to comment.