Skip to content

Commit 486b1c6

Browse files
committed
run integration test on macos as well
1 parent 34b3d8e commit 486b1c6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/go.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151

5252
test_create:
5353
name: Writer integration test - creation
54-
runs-on: ubuntu-latest
54+
strategy:
55+
matrix:
56+
os: [ubuntu-latest, macos-latest]
57+
runs-on: ${{ matrix.os }}
5558
steps:
5659
- name: Set up Go
5760
uses: actions/setup-go@v1
@@ -67,7 +70,7 @@ jobs:
6770
uses: actions/upload-artifact@v3
6871
with:
6972
path: /tmp/writer_test.iso
70-
name: writer_test.iso
73+
name: writer_test_${{ matrix.os }}.iso
7174
- name: Upload coverage to Codecov
7275
uses: codecov/codecov-action@v2
7376
with:
@@ -76,6 +79,9 @@ jobs:
7679
test_verify:
7780
name: Writer integration test - verification
7881
runs-on: ubuntu-latest
82+
strategy:
83+
matrix:
84+
os: [ubuntu-latest, macos-latest]
7985
needs: test_create
8086
steps:
8187
- name: Set up Go
@@ -87,7 +93,7 @@ jobs:
8793
- name: Download a single artifact
8894
uses: actions/download-artifact@v3
8995
with:
90-
name: writer_test.iso
96+
name: writer_test_${{ matrix.os }}.iso
9197
- run: ls
9298
- run: ls -la writer_test.iso
9399
- name: Integration test - verify image

0 commit comments

Comments
 (0)