Skip to content

Commit f8fa430

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 e4b918f commit f8fa430

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
@@ -77,17 +77,22 @@ for yaml in "$@"; do
7777
"test") opargs="--pipeline-dirs $PWD/pipelines";;
7878
esac
7979

80-
vrc "Testing $base from $yaml for $op" \
81-
${MELANGE} "$op" \
82-
--arch=${ARCH} --source-dir=./test-fixtures \
83-
--runner=qemu \
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"
80+
for runner in "qemu" "bubblewrap" "docker"; do
81+
if [ $(uname -s) = "Darwin" ] && [ ${runner} = "bubblewrap" ]; then
82+
continue
83+
fi
84+
vrc "Testing $base from $yaml for $op using $runner" \
85+
${MELANGE} "$op" \
86+
--arch=${ARCH} --source-dir=./test-fixtures \
87+
--runner=${runner} \
88+
"$yaml" \
89+
${args} $opargs \
90+
"--keyring-append=$PWD/$key.pub" \
91+
"--repository-append=$PWD/packages" \
92+
"--repository-append=https://packages.wolfi.dev/os" \
93+
"--keyring-append=https://packages.wolfi.dev/os/wolfi-signing.rsa.pub" ||
94+
fails="${fails} $yaml/$op/$runner"
95+
done
9196
done
9297
done
9398

0 commit comments

Comments
 (0)