Skip to content

Commit

Permalink
split end2end test in separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Aug 16, 2023
1 parent c9d45e4 commit 6d46c2a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/end2end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
rm -f develop.tar.gz
done
- name: End-to-end test of EasyBuild
- name: Set up environment
shell: bash
run: |
export PATH=$PWD:$PATH
Expand All @@ -49,15 +49,25 @@ jobs:
# tests are run with root privileges, so we need to tell EasyBuild that's OK...
export EASYBUILD_ALLOW_USE_AS_ROOT_AND_ACCEPT_CONSEQUENCES=1
# save full environment to use in subsequent steps,
# see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
while read line; do echo "$line" >> $GITHUB_ENV ; done < <(env)
- name: Run commands to check test environment

cmds=(
"whoami"
"pwd"
"env | sort"
"eb --version"
"eb --show-system-info"
"eb --check-eb-deps"
"eb --show-config"
"eb bzip2-1.0.8.eb --trace --robot"
)
for cmd in "${cmds[@]}"; do
echo ">>> $cmd"
eval "$cmd"
done

- name: End-to-end test of installing bzip2 with EasyBuild
run: eb bzip2-1.0.8.eb --trace --robot

0 comments on commit 6d46c2a

Please sign in to comment.