From 11d2270be33e03222c4b81f748d59da0738abadc Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Tue, 31 Oct 2023 22:24:57 +0200 Subject: [PATCH] ci: add mac os to matrix tests Signed-off-by: Boris Glimcher --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 370ec77b..7bf68f9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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