Skip to content

Commit 8889a42

Browse files
run-tests: Run test with all compatible runners
This way we'll notice when things break even if they defaults have changed. Darwin doesn't support bubble wrap but macOS 26 has native container, might be interesting.
1 parent b218507 commit 8889a42

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

e2e-tests/run-tests

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,22 @@ for yaml in "$@"; do
7373
build) opargs="--signing-key=$PWD/$key";;
7474
esac
7575

76-
vrc "Testing $base from $yaml for $op" \
77-
${MELANGE} "$op" \
78-
--arch=${ARCH} --source-dir=./test-fixtures \
79-
--runner=qemu \
80-
"$yaml" \
81-
${args} $opargs \
82-
"--keyring-append=$PWD/$key.pub" \
83-
"--repository-append=$PWD/packages" \
84-
"--repository-append=https://packages.wolfi.dev/os" \
85-
"--keyring-append=https://packages.wolfi.dev/os/wolfi-signing.rsa.pub" ||
86-
fails="${fails} $yaml/$op"
76+
for runner in "qemu" "bubblewrap" "docker"; do
77+
if [ $(uname -s) = "Darwin" ] && [ ${runner} = "bubblewrap" ]; then
78+
continue
79+
fi
80+
vrc "Testing $base from $yaml for $op using $runner" \
81+
${MELANGE} "$op" \
82+
--arch=${ARCH} --source-dir=./test-fixtures \
83+
--runner=${runner} \
84+
"$yaml" \
85+
${args} $opargs \
86+
"--keyring-append=$PWD/$key.pub" \
87+
"--repository-append=$PWD/packages" \
88+
"--repository-append=https://packages.wolfi.dev/os" \
89+
"--keyring-append=https://packages.wolfi.dev/os/wolfi-signing.rsa.pub" ||
90+
fails="${fails} $yaml/$op/$runner"
91+
done
8792
done
8893
done
8994

0 commit comments

Comments
 (0)