Skip to content

Commit

Permalink
run integration test on macos as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomanski committed Jun 25, 2023
1 parent 34b3d8e commit 486b1c6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ jobs:

test_create:
name: Writer integration test - creation
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v1
Expand All @@ -67,7 +70,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: /tmp/writer_test.iso
name: writer_test.iso
name: writer_test_${{ matrix.os }}.iso
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand All @@ -76,6 +79,9 @@ jobs:
test_verify:
name: Writer integration test - verification
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
needs: test_create
steps:
- name: Set up Go
Expand All @@ -87,7 +93,7 @@ jobs:
- name: Download a single artifact
uses: actions/download-artifact@v3
with:
name: writer_test.iso
name: writer_test_${{ matrix.os }}.iso
- run: ls
- run: ls -la writer_test.iso
- name: Integration test - verify image
Expand Down

0 comments on commit 486b1c6

Please sign in to comment.