Skip to content

Commit

Permalink
Merge pull request #763 from nesquena/chore/fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena authored May 14, 2024
2 parents 3dc2dc5 + 513fa78 commit e1655d4
Showing 1 changed file with 23 additions and 6 deletions.
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

0 comments on commit e1655d4

Please sign in to comment.