From 8d3229e3ab5cf46b411b2a7bc248ae4b9ad60893 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sat, 16 Dec 2023 13:16:40 +0100 Subject: [PATCH] fixup! foobar --- .github/workflows/ci.yml | 68 ++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 359e1fb..a40480a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -360,42 +360,42 @@ jobs: name: Test running the action multiple times runs-on: macos-latest - # strategy: - # fail-fast: false - # matrix: - # hypervisor: [qemu, xhyve] + strategy: + fail-fast: false + matrix: + hypervisor: [qemu] steps: + - name: Checkout + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Run action first time + uses: ./ + with: + operating_system: freebsd + architecture: x86-64 + version: '13.2' + hypervisor: ${{ matrix.hypervisor }} + shutdown_vm: false + run: touch foo.txt + - name: Setup tmate session uses: mxschmitt/action-tmate@v3 - # - name: Checkout - # uses: actions/checkout@v4 - # with: - # persist-credentials: false - # - # - name: Run action first time - # uses: ./ - # with: - # operating_system: freebsd - # architecture: x86-64 - # version: '13.2' - # hypervisor: ${{ matrix.hypervisor }} - # shutdown_vm: false - # run: touch foo.txt - # - # - name: Verify VM is still running - # run: ps aux | grep -v grep | grep -q -v qemu - # - # - name: Verify file is synced back - # run: test -f foo.txt - # - # - name: Run action second time - # uses: ./ - # with: - # operating_system: freebsd - # architecture: x86-64 - # version: '13.2' - # hypervisor: qemu - # shutdown_vm: true - # run: test -f foo.txt + - name: Verify VM is still running + run: ps aux | grep -v grep | grep -q -v qemu + + - name: Verify file is synced back + run: test -f foo.txt + + - name: Run action second time + uses: ./ + with: + operating_system: freebsd + architecture: x86-64 + version: '13.2' + hypervisor: qemu + shutdown_vm: true + run: test -f foo.txt