Skip to content

Commit 1675ff9

Browse files
committed
set $EESSI_VERSION_OVERRIDE rather than replacing __EESSI_VERSION_DEFAULT__ placeholder in init/eessi_defaults in CI workflow to test load_easybuild_module.sh script
1 parent 8e2e292 commit 1675ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests_scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# set up environment to have utility functions in place that load_easybuild_module.sh script relies on,
6565
# along with $EESSI_* environment variables, and Lmod
6666
echo 'ls -l /software-layer-scripts/' >> ${test_script}
67-
echo 'sed -i "s/__EESSI_VERSION_DEFAULT__/${{matrix.EESSI_VERSION}}/g" init/eessi_defaults' >> ${test_script}
67+
echo 'export EESSI_VERSION_OVERRIDE="${{matrix.EESSI_VERSION}}"' >> ${test_script}
6868
echo 'source /software-layer-scripts/scripts/utils.sh' >> ${test_script}
6969
echo 'source /software-layer-scripts/init/eessi_environment_variables' >> ${test_script}
7070
echo 'source ${EPREFIX}/usr/share/Lmod/init/bash' >> ${test_script}

0 commit comments

Comments
 (0)