From df8d35fe35153b8b437c2b816dd987668a063684 Mon Sep 17 00:00:00 2001 From: mu <59917266+4eUeP@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:35:38 +0800 Subject: [PATCH] ci: add quick-start test for macOS --- .github/workflows/ci.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fd46fcd..9fcccb9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,13 +13,25 @@ on: jobs: quick-start: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest] + name: quick-start on ${{ matrix.os }} steps: - uses: actions/checkout@v2 + - uses: docker-practice/actions-setup-docker@master + if: runner.os == 'macOS' + timeout-minutes: 12 + + - run: | + set -x + docker version + - name: pull images - run: docker-compose -f assets/quick-start-lite.yaml pull + run: docker compose -f assets/quick-start-lite.yaml pull - name: quick start a hstream cluster run: ./tests/start_cluster.sh