Skip to content

Commit bc4e919

Browse files
committed
Run tests on both Windows & Linux
1 parent 129f96a commit bc4e919

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/worker-tests.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@ on:
88

99
jobs:
1010
worker_tests:
11-
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
os: [Linux, Windows]
14+
include:
15+
- os: Linux
16+
pool: ubuntu-latest
17+
- os: Windows
18+
pool: windows-latest
19+
name: Run tests on ${{ matrix.os }}
20+
runs-on: ${{ matrix.pool }}
1221
steps:
1322
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1423

@@ -17,6 +26,7 @@ jobs:
1726
go-version: "1.23.6"
1827

1928
- name: Build worker Docker image
29+
if: ${{ matrix.os != 'Windows' }}
2030
run: |
2131
docker compose build
2232

0 commit comments

Comments
 (0)