From 12f5a14e4d86a0a96bd23e6a0a31c7e85ce1e013 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 11 May 2023 12:36:31 +0200 Subject: [PATCH] CI: Print log of bootstrap stage 2 --- .github/workflows/bootstrap_script.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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