Skip to content

Commit 8e88766

Browse files
committed
ci: add mac os to matrix tests
Signed-off-by: Boris Glimcher <[email protected]>
1 parent bfdf6b8 commit 8e88766

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: test
33
on: [push, pull_request]
44
jobs:
55
build:
6-
runs-on: ubuntu-latest
76
strategy:
7+
fail-fast: false
88
matrix:
99
go: [ '1.18', '1.19', '1.20', '1.21' ]
10+
os: [macos-latest, ubuntu-latest]
11+
runs-on: ${{ matrix.os }}
1012
steps:
1113
- uses: actions/checkout@v3
1214
- uses: actions/setup-go@v3
@@ -17,6 +19,12 @@ jobs:
1719
version: v1.13.0
1820
install-only: true
1921

22+
- name: Setup docker (missing on MacOS)
23+
if: contains(runner.os, 'macos')
24+
run: |
25+
brew install docker
26+
colima start
27+
2028
- run: |
2129
go version
2230
go env

0 commit comments

Comments
 (0)