Skip to content

Commit

Permalink
ci: add mac os to matrix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Oct 31, 2023
1 parent bfdf6b8 commit 11d2270
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [ '1.18', '1.19', '1.20', '1.21' ]
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -17,6 +19,12 @@ jobs:
version: v1.13.0
install-only: true

- name: Setup docker (missing on MacOS)
if: contains(runner.os, 'macos')
run: |
brew install docker
colima start
- run: |
go version
go env
Expand Down

0 comments on commit 11d2270

Please sign in to comment.