diff --git a/.github/workflows/bootstrap_script.yml b/.github/workflows/bootstrap_script.yml index d8e4f52f95..6b99834d5a 100644 --- a/.github/workflows/bootstrap_script.yml +++ b/.github/workflows/bootstrap_script.yml @@ -127,7 +127,11 @@ jobs: # test bootstrap script export PREFIX=/tmp/$USER/$GITHUB_SHA/eb_bootstrap export EASYBUILD_BOOTSTRAP_DEPRECATED=1 - python easybuild/scripts/bootstrap_eb.py $PREFIX + if ! python easybuild/scripts/bootstrap_eb.py $PREFIX; then + # Output log file of stage 2 install then fail + cat /tmp/eb-*/easybuild-EasyBuild-*.log + false + fi unset EASYBUILD_BOOTSTRAP_DEPRECATED # unset $PYTHONPATH to avoid mixing two EasyBuild 'installations' when testing bootstrapped EasyBuild module unset PYTHONPATH