@@ -27,28 +27,28 @@ jobs:
2727 runs-on : ubuntu-latest
2828 strategy :
2929 fail-fast : false
30- max-parallel : 10
30+ max-parallel : 8
3131 matrix :
3232 include :
3333 - {redis: '7.2', ruby: '3.4'}
3434 - {redis: '7.2', ruby: '3.4', compose: compose.ssl.yaml}
3535 - {redis: '7.2', ruby: '3.4', driver: 'hiredis'}
3636 - {redis: '7.2', ruby: '3.4', driver: 'hiredis', compose: compose.ssl.yaml}
3737 - {redis: '7.2', ruby: '3.4', compose: compose.replica.yaml, replica: '2'}
38- - {task: test_cluster_down}
39- - {task: test_cluster_broken, restart: 'no', startup: '6'}
4038 - {redis: '8', ruby: '3.3', compose: compose.valkey.yaml, replica: '2'}
4139 - {redis: '7.2', ruby: '3.2', compose: compose.auth.yaml}
4240 - {redis: '7.0', ruby: '3.1'}
4341 - {redis: '6.2', ruby: '3.0'}
4442 - {redis: '5.0', ruby: '2.7'}
43+ - {ruby: 'jruby'}
44+ - {ruby: 'truffleruby'}
45+ - {task: test_cluster_down}
46+ - {task: test_cluster_broken, restart: 'no', startup: '6'}
4547 - {task: test_cluster_state, pattern: 'PrimaryOnly', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
4648 - {task: test_cluster_state, pattern: 'Pooled', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
4749 - {task: test_cluster_state, pattern: 'ScaleReadRandom', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
4850 - {task: test_cluster_state, pattern: 'ScaleReadRandomWithPrimary', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
4951 - {task: test_cluster_state, pattern: 'ScaleReadLatency', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
50- - {ruby: 'jruby'}
51- - {ruby: 'truffleruby'}
5252 - {task: test_cluster_scale, pattern: 'Single', compose: compose.scale.yaml, startup: '8'}
5353 - {task: test_cluster_scale, pattern: 'Pipeline', compose: compose.scale.yaml, startup: '8'}
5454 - {task: test_cluster_scale, pattern: 'Transaction', compose: compose.scale.yaml, startup: '8'}
8181 run : bundle exec rake ${{ matrix.task || 'test' }}
8282 - name : Stop containers
8383 run : docker compose --progress quiet -f $DOCKER_COMPOSE_FILE down || true
84+ lint :
85+ name : Lint
86+ if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
87+ timeout-minutes : 5
88+ runs-on : ubuntu-latest
89+ steps :
90+ - name : Check out code
91+ uses : actions/checkout@v4
92+ - name : Set up Ruby
93+ uses : ruby/setup-ruby@v1
94+ with :
95+ ruby-version : ' 3.4'
96+ bundler-cache : true
97+ - name : Run rubocop
98+ run : bundle exec rubocop
8499 nat-ted-env :
100+ if : github.event_name == 'schedule' && github.repository == 'redis-rb/redis-cluster-client'
85101 name : NAT-ted Environments
86- if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
87102 timeout-minutes : 5
88103 runs-on : ubuntu-latest
89104 env :
@@ -140,24 +155,9 @@ jobs:
140155 run : bundle exec rake test
141156 - name : Stop containers
142157 run : docker compose --progress quiet -f $DOCKER_COMPOSE_FILE down || true
143- lint :
144- name : Lint
145- if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
146- timeout-minutes : 5
147- runs-on : ubuntu-latest
148- steps :
149- - name : Check out code
150- uses : actions/checkout@v4
151- - name : Set up Ruby
152- uses : ruby/setup-ruby@v1
153- with :
154- ruby-version : ' 3.4'
155- bundler-cache : true
156- - name : Run rubocop
157- run : bundle exec rubocop
158158 benchmark :
159+ if : github.event_name == 'schedule' && github.repository == 'redis-rb/redis-cluster-client'
159160 name : Benchmark
160- if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
161161 timeout-minutes : 10
162162 runs-on : ubuntu-latest
163163 env :
@@ -217,8 +217,8 @@ jobs:
217217 - name : Stop containers
218218 run : docker compose --progress quiet -f $DOCKER_COMPOSE_FILE down || true
219219 ips :
220+ if : github.event_name == 'schedule' && github.repository == 'redis-rb/redis-cluster-client'
220221 name : IPS
221- if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
222222 timeout-minutes : 10
223223 runs-on : ubuntu-latest
224224 env :
@@ -250,8 +250,8 @@ jobs:
250250 - name : Stop containers
251251 run : docker compose --progress quiet -f $DOCKER_COMPOSE_FILE down || true
252252 profiling :
253+ if : github.event_name == 'schedule' && github.repository == 'redis-rb/redis-cluster-client'
253254 name : Profiling
254- if : github.event_name != 'schedule' || github.repository == 'redis-rb/redis-cluster-client'
255255 timeout-minutes : 5
256256 runs-on : ubuntu-latest
257257 strategy :
@@ -289,8 +289,8 @@ jobs:
289289 - name : Stop containers
290290 run : docker compose --progress quiet -f $DOCKER_COMPOSE_FILE down || true
291291 massive :
292- name : Massive Cluster
293292 if : github.event_name == 'schedule' && github.repository == 'redis-rb/redis-cluster-client'
293+ name : Massive Cluster
294294 timeout-minutes : 10
295295 runs-on : ubuntu-latest
296296 env :
0 commit comments