Skip to content

Commit 61b60b4

Browse files
committed
Run Go integration tests on all operating systems
Bugs can sometimes be operating system-specific, so it's important to test with all of them. This was done in the source workflow, but ended up being lost when the integration testing functionality was moved to a dedicated workflow.
1 parent bc14b21 commit 61b60b4

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ on:
3434

3535
jobs:
3636
test:
37-
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
operating-system:
40+
- ubuntu-latest
41+
- windows-latest
42+
- macos-latest
43+
44+
runs-on: ${{ matrix.operating-system }}
3845

3946
steps:
4047
- name: Checkout repository

workflow-templates/test-go-integration-task.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ on:
3434

3535
jobs:
3636
test:
37-
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
operating-system:
40+
- ubuntu-latest
41+
- windows-latest
42+
- macos-latest
43+
44+
runs-on: ${{ matrix.operating-system }}
3845

3946
steps:
4047
- name: Checkout repository

0 commit comments

Comments
 (0)