Skip to content

Commit bdd34dd

Browse files
committed
also try running bzip2 in workflow to test container building
1 parent 770139a commit bdd34dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/container_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,5 @@ jobs:
8989
export EASYBUILD_CONTAINERPATH=$PWD
9090
export EASYBUILD_CONTAINER_CONFIG='bootstrap=yum,osversion=7'
9191
eb bzip2-1.0.8.eb --containerize --experimental --container-build-image
92-
test -f bzip2-1.0.8.sif
92+
singularity exec bzip2-1.0.8.sif command -v bzip2 | grep '/app/software/bzip2/1.0.8/bin/bzip2' || (echo "Path to bzip2 '$which_bzip2' is not correct" && exit 1)
93+
singularity exec bzip2-1.0.8.sif bzip2 --help

0 commit comments

Comments
 (0)