Skip to content

Commit

Permalink
CI: run Ruby 2.0, 2.1, and 2.2 tests on Ubuntu 20.02
Browse files Browse the repository at this point in the history
Older Rubies can segfault when running on new versions of Ubuntu.
  • Loading branch information
orien committed Feb 21, 2024
1 parent 0deffaa commit eef3360
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -4,11 +4,16 @@ on: [ push, pull_request ]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }})
runs-on: ubuntu-latest
runs-on: ubuntu-${{ matrix.ubuntu }}
strategy:
fail-fast: false
matrix:
ruby: [ '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'jruby', 'truffleruby' ]
ruby: [ '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'jruby', 'truffleruby' ]
ubuntu: [ latest ]
include:
- { ruby: '2.0', ubuntu: '20.04' }
- { ruby: '2.1', ubuntu: '20.04' }
- { ruby: '2.2', ubuntu: '20.04' }
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit eef3360

Please sign in to comment.