Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI and test against Ruby 3.3 #763

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,38 @@ on:
jobs:
test:
name: Ruby tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
ruby-version: ['1.9.3', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
experimental: [false]
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
channel: ['stable']
os: ['ubuntu-latest']

include:
# Test legacy Ruby versions on ubuntu-20.04 to avoid segmentation
# faults and errors with `Marshal`. Ref: ruby/setup-ruby#496
- ruby-version: '1.9.3'
channel: 'stable'
os: 'ubuntu-20.04'
- ruby-version: '2.0'
channel: 'stable'
os: 'ubuntu-20.04'
- ruby-version: '2.1'
channel: 'stable'
os: 'ubuntu-20.04'
- ruby-version: '2.2'
channel: 'stable'
os: 'ubuntu-20.04'

- ruby-version: 'head'
experimental: true
channel: 'experimental'
os: 'ubuntu-latest'

continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.channel != 'stable' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down