mkosi: Remove explicit /testok check
vsock should work properly after the latest release of mkosi. But to make sure it works, let's exit with 123 in case of success and check for that in Github Actions.
This commit is contained in:
@@ -121,11 +121,7 @@ jobs:
|
||||
run: mkosi --debug
|
||||
|
||||
- name: Boot ${{ matrix.distro }} systemd-nspawn
|
||||
run: sudo mkosi --debug boot
|
||||
run: test "$(sudo mkosi --debug boot 1>&2; echo $?)" -eq 123
|
||||
|
||||
- name: Boot ${{ matrix.distro }} QEMU
|
||||
run: timeout -k 30 10m mkosi --debug qemu
|
||||
|
||||
# vsock in Github Actions with qemu is broken so for now we check for failures manually.
|
||||
- name: Check ${{ matrix.distro }} QEMU
|
||||
run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"
|
||||
run: timeout -k 30 10m test "$(mkosi --debug qemu 1>&2; echo $?)" -eq 123
|
||||
|
||||
Reference in New Issue
Block a user