Skip to content

Commit

Permalink
change: Ruby and Redis versions in test workflow matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hazi committed Apr 13, 2024
1 parent b371d64 commit 72c4777
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,39 @@ jobs:
strategy:
max-parallel: 6
matrix:
ruby-version: ['3.0', '3.1', '3.2', ruby-head]
redis-version: ['5.0', '6.0', '6.2', '7.0', '7.2', latest]
set:
- ruby-version: '3.0'
redis-version: '7.2'
- ruby-version: '3.1'
redis-version: '7.2'
- ruby-version: '3.2'
redis-version: '5.0'
- ruby-version: '3.2'
redis-version: '6.0'
- ruby-version: '3.2'
redis-version: '6.2'
- ruby-version: '3.2'
redis-version: '7.0'
- ruby-version: '3.2'
redis-version: '7.2'
- ruby-version: '3.2'
redis-version: latest
- ruby-version: ruby-head
redis-version: '7.2'

services:
redis:
image: redis:${{ matrix.redis-version }}
image: redis:${{ matrix.set.redis-version }}
ports:
- 6379:6379

steps:
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby-version }}
- name: Set up Ruby ${{ matrix.set.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: ${{ matrix.set.ruby-version }}
bundler-cache: true

- name: Rackup test web server
Expand Down

0 comments on commit 72c4777

Please sign in to comment.