Skip to content

Commit

Permalink
fixup! foobar
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Dec 16, 2023
1 parent 38ecbff commit 8d3229e
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d3229e

Please sign in to comment.