From 409814d56331e62e6d8b12dd327f2659601fba4b Mon Sep 17 00:00:00 2001 From: Khosrow Afroozeh Date: Wed, 24 Jul 2024 19:26:18 +0200 Subject: [PATCH] [CLIENT-3056] Fix Github Actions Workflow --- .github/workflows/development.yml | 50 +++++++++++++++---------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 6b842918..60acc9df 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -6,40 +6,38 @@ jobs: test: runs-on: ${{matrix.os}}-latest continue-on-error: ${{matrix.experimental}} - + strategy: matrix: os: - - ubuntu - + - ubuntu-latest + - macos-latest + ruby: - - 2.6 - - 2.7 - + - "2.6" + - "2.7" + - "3.0" + - "3.1" + - "3.2" + - "3.3" + experimental: [false] env: [""] - + include: - os: ubuntu ruby: head experimental: true - steps: - - uses: actions/checkout@v2 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{matrix.ruby}} - bundler-cache: true - - - name: Start server - timeout-minutes: 5 - env: - TERM: dumb - run: - .github/workflows/start_cluster.sh 2 - - - name: Run tests - timeout-minutes: 30 - env: - AEROSPIKE_HOSTS: "127.0.0.1:3000,127.0.0.1:3100" - run: ${{matrix.env}} bundle exec rspec + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{matrix.ruby}} + bundler-cache: true + - name: Set up Aerospike Database + uses: reugn/github-action-aerospike@v1 + - name: Run tests + timeout-minutes: 30 + env: + AEROSPIKE_HOSTS: "127.0.0.1:3000" + run: ${{matrix.env}} bundle exec rspec