Skip to content

Commit

Permalink
[CLIENT-3056] Fix Github Actions Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed Jul 24, 2024
1 parent 6075979 commit 9e0984d
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,41 @@ 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

0 comments on commit 9e0984d

Please sign in to comment.