Skip to content

Commit 10c8698

Browse files
committed
run tests outside of checked out repository dir (so we test installed version of easybuild-framework)
1 parent 0fd5613 commit 10c8698

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ jobs:
130130
EASYBUILD_MODULE_SYNTAX: ${{matrix.module_syntax}}
131131
TEST_EASYBUILD_MODULE_SYNTAX: ${{matrix.module_syntax}}
132132
run: |
133+
# run tests *outside* of checked out easybuild-framework directory,
134+
# to ensure we're testing installed version (see previous step)
135+
cd $HOME
133136
# initialize environment for modules tool
134137
if [ -f $HOME/moduleshome ]; then export MODULESHOME=$(cat $HOME/moduleshome); fi
135138
source $(cat $HOME/mod_init); type module

0 commit comments

Comments
 (0)