Skip to content

Commit c84f6fd

Browse files
authored
ci: add ruby 3.4 to the matrix (#421)
1 parent 68b5d6d commit c84f6fd

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/test.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
max-parallel: 10
2828
matrix:
2929
include:
30-
- {redis: '7.2', ruby: '3.3'}
31-
- {redis: '7.2', ruby: '3.3', compose: compose.ssl.yaml}
32-
- {redis: '7.2', ruby: '3.3', driver: 'hiredis'}
33-
- {redis: '7.2', ruby: '3.3', driver: 'hiredis', compose: compose.ssl.yaml}
34-
- {redis: '7.2', ruby: '3.3', compose: compose.replica.yaml, replica: '2'}
30+
- {redis: '7.2', ruby: '3.4'}
31+
- {redis: '7.2', ruby: '3.4', compose: compose.ssl.yaml}
32+
- {redis: '7.2', ruby: '3.4', driver: 'hiredis'}
33+
- {redis: '7.2', ruby: '3.4', driver: 'hiredis', compose: compose.ssl.yaml}
34+
- {redis: '7.2', ruby: '3.4', compose: compose.replica.yaml, replica: '2'}
3535
- {task: test_cluster_down}
3636
- {task: test_cluster_broken, restart: 'no', startup: '6'}
3737
- {redis: '8', ruby: '3.3', compose: compose.valkey.yaml, replica: '2'}
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Ruby
6565
uses: ruby/setup-ruby@v1
6666
with:
67-
ruby-version: ${{ matrix.ruby || '3.3' }}
67+
ruby-version: ${{ matrix.ruby || '3.4' }}
6868
bundler-cache: true
6969
- name: Pull Docker images
7070
run: docker compose --progress quiet -f $DOCKER_COMPOSE_FILE pull
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Ruby
9292
uses: ruby/setup-ruby@v1
9393
with:
94-
ruby-version: '3.3'
94+
ruby-version: '3.4'
9595
bundler-cache: true
9696
- name: Get IP address of host
9797
run: |
@@ -146,7 +146,7 @@ jobs:
146146
- name: Set up Ruby
147147
uses: ruby/setup-ruby@v1
148148
with:
149-
ruby-version: '3.3'
149+
ruby-version: '3.4'
150150
bundler-cache: true
151151
- name: Run rubocop
152152
run: bundle exec rubocop
@@ -166,7 +166,7 @@ jobs:
166166
- name: Set up Ruby
167167
uses: ruby/setup-ruby@v1
168168
with:
169-
ruby-version: '3.3'
169+
ruby-version: '3.4'
170170
bundler-cache: true
171171
- name: Pull Docker images
172172
run: docker compose --progress quiet -f $DOCKER_COMPOSE_FILE pull
@@ -226,7 +226,7 @@ jobs:
226226
- name: Set up Ruby
227227
uses: ruby/setup-ruby@v1
228228
with:
229-
ruby-version: '3.3'
229+
ruby-version: '3.4'
230230
bundler-cache: true
231231
- name: Pull Docker images
232232
run: docker compose --progress quiet -f $DOCKER_COMPOSE_FILE pull
@@ -264,7 +264,7 @@ jobs:
264264
- name: Set up Ruby
265265
uses: ruby/setup-ruby@v1
266266
with:
267-
ruby-version: '3.3'
267+
ruby-version: '3.4'
268268
bundler-cache: true
269269
- name: Pull Docker images
270270
run: docker compose --progress quiet -f $DOCKER_COMPOSE_FILE pull
@@ -296,7 +296,7 @@ jobs:
296296
- name: Set up Ruby
297297
uses: ruby/setup-ruby@v1
298298
with:
299-
ruby-version: '3.3'
299+
ruby-version: '3.4'
300300
bundler-cache: true
301301
- name: Print user limits
302302
run: ulimit -a

test/redis_client/test_cluster_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
class RedisClient
77
class TestClusterConfig < TestingWrapper
88
def test_inspect
9-
want = '#<RedisClient::ClusterConfig [{:host=>"127.0.0.1", :port=>6379}]>'
9+
cfg = { host: '127.0.0.1', port: 6379 }
10+
want = "#<RedisClient::ClusterConfig [#{cfg}]>"
1011
got = ::RedisClient::ClusterConfig.new.inspect
1112
assert_equal(want, got)
1213
end

0 commit comments

Comments
 (0)