Skip to content

Commit

Permalink
Match all variables that start with EESSI_
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 15, 2024
1 parent cf5491b commit e7eb879
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests_eessi_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@ jobs:
moduleoutfile="moduleout.txt"
sourceoutfile="sourceout.txt"
module load EESSI/${{matrix.EESSI_VERSION}}
env | grep -E '^(EESSI_S|EESSI_C)' | sort > "${moduleoutfile}"
unset EESSI_ARCHDETECT_OPTIONS
env | grep -E '^EESSI_' | sort > "${moduleoutfile}"
module unload EESSI/${{matrix.EESSI_VERSION}}
source ./init/bash
env | grep -E '^(EESSI_S|EESSI_C)' | sort > "${sourceoutfile}"
env | grep -E '^EESSI_' | sort > "${sourceoutfile}"
cat "${moduleoutfile}"
cat "${sourceoutfile}"
if (diff "${moduleoutfile}" "${sourceoutfile}" > /dev/null); then
Expand Down

0 comments on commit e7eb879

Please sign in to comment.