Skip to content

Commit

Permalink
CI: Add Ruby 3.4 preview 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed May 20, 2024
1 parent f1d84ae commit b9d201b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4.0-preview1']
cassandra-version: ['3', '4', '5']

name: Linux, Cassandra ${{ matrix.cassandra-version }}, Ruby ${{ matrix.ruby-version }}
Expand All @@ -62,6 +62,12 @@ jobs:
bundler-cache: true
- name: Prepare tests
run: bundle exec rake compile
- name: Wait for Cassandra to be ready
run: |
while ! cqlsh -e 'describe keyspaces'; do
echo "Waiting for Cassandra to be ready..."
sleep 5
done
- name: Run tests
run: bundle exec rake test

Expand All @@ -71,7 +77,7 @@ jobs:

strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4.0-preview1']

name: macOS, Cassandra 4, Ruby ${{ matrix.ruby-version }}
steps:
Expand All @@ -86,5 +92,11 @@ jobs:
bundler-cache: true
- name: Prepare tests
run: bundle exec rake compile
- name: Wait for Cassandra to be ready
run: |
while ! cqlsh -e 'describe keyspaces'; do
echo "Waiting for Cassandra to be ready..."
sleep 5
done
- name: Run tests
run: bundle exec rake test

0 comments on commit b9d201b

Please sign in to comment.