From 64081af0b5f51a252b227efe6e05b946ab28960d Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Thu, 22 Aug 2024 16:58:56 -0600 Subject: [PATCH] Check for failure --- .github/workflows/pull_request_integration_tests_vm.yml | 2 +- test/vm/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_integration_tests_vm.yml b/.github/workflows/pull_request_integration_tests_vm.yml index f930bd754..fccb9ad4f 100644 --- a/.github/workflows/pull_request_integration_tests_vm.yml +++ b/.github/workflows/pull_request_integration_tests_vm.yml @@ -29,7 +29,7 @@ jobs: sudo apt-get install -y --no-install-recommends qemu-utils qemu-system-x86 - name: Run VM integration tests run: | - sudo make -C test/vm + sudo make -C test/vm && [ -f testoutput/success ] sudo make -C test/vm change-owner timeout-minutes: 60 - name: Upload integration test logs diff --git a/test/vm/Dockerfile b/test/vm/Dockerfile index cb2dcc512..dda3d8463 100644 --- a/test/vm/Dockerfile +++ b/test/vm/Dockerfile @@ -64,7 +64,7 @@ RUN rc-update add startup default RUN cat < /startup.sh #!/bin/sh -cd /build && make $target +cd /build && make $target && touch /build/testoutput/success poweroff EOF