Skip to content

Commit e7dba90

Browse files
committed
CI: Print log of bootstrap stage 2
1 parent f0ef34e commit e7dba90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/bootstrap_script.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ jobs:
127127
# test bootstrap script
128128
export PREFIX=/tmp/$USER/$GITHUB_SHA/eb_bootstrap
129129
export EASYBUILD_BOOTSTRAP_DEPRECATED=1
130-
python easybuild/scripts/bootstrap_eb.py $PREFIX
130+
if ! python easybuild/scripts/bootstrap_eb.py $PREFIX; then
131+
# Output log file of stage 2 install then fail
132+
cat /tmp/eb-*/easybuild-EasyBuild-*.log
133+
false
134+
fi
131135
unset EASYBUILD_BOOTSTRAP_DEPRECATED
132136
# unset $PYTHONPATH to avoid mixing two EasyBuild 'installations' when testing bootstrapped EasyBuild module
133137
unset PYTHONPATH

0 commit comments

Comments
 (0)