Skip to content

Commit f5704e1

Browse files
committed
ci: add matrix.os
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 72064da commit f5704e1

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,39 @@ on: [push, workflow_dispatch]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
88

99
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-preventing-a-specific-failing-matrix-job-from-failing-a-workflow-run
1010
continue-on-error: ${{ matrix.experimental }}
1111
strategy:
1212
fail-fast: false
1313
matrix:
14+
os: [ubuntu-latest, macos-latest]
1415
node: [12, 14]
1516
experimental: [false]
1617
include:
17-
- node: 10
18+
- os: ubuntu-latest
19+
node: 10
1820
experimental: true
19-
# v16 should work fine; there're some issues in CI with `krb5-config`
20-
- node: 16
21+
- os: ubuntu-latest
22+
# v16 should work fine; there're some issues in CI with `krb5-config`
23+
node: 16
2124
experimental: true
22-
- node: 18
25+
- os: ubuntu-latest
26+
node: 18
27+
experimental: true
28+
29+
# test windows, w/ wanted versions
30+
- os: windows-latest
31+
node: 12
32+
experimental: true
33+
- os: windows-latest
34+
node: 14
35+
experimental: true
36+
37+
# test macos - for some reason, internet conn fails @ github actions
38+
- os: macos-latest
39+
node: 12
2340
experimental: true
2441

2542
steps:

0 commit comments

Comments
 (0)