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

CI: drop support for EOL Rubies (< 2.7), add support for Ruby 3.4, shift jRuby support from 9.2/9.3 -> 9.3/9.4 #148

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
25 changes: 15 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,39 @@ name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.flaky }}
name: "Tests: Ruby ${{ matrix.ruby-version }}"
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
ruby-version: ["2.5", "2.6", "2.7", "3.0", "3.1", "truffleruby-22", "truffleruby-21"]
swiknaba marked this conversation as resolved.
Show resolved Hide resolved
ruby-version:
- 2.7
- "3.0"
- 3.1
- 3.2
- truffleruby-22
- truffleruby-23
flaky: [false]
include:
- ruby-version: "ruby-head"
- ruby-version: "head"
flaky: true
- ruby-version: "jruby-9.2"
- ruby-version: "jruby-9.3" # Ruby 2.6.x support
flaky: true
- ruby-version: "jruby-9.3"
- ruby-version: "jruby-9.4" # Ruby 3.1.x support
flaky: true
- ruby-version: "jruby-head"
flaky: true
- ruby-version: "truffleruby-head"
flaky: true
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
swiknaba marked this conversation as resolved.
Show resolved Hide resolved

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

- name: Bundle install
run: |
gem install bundler
bundle install
- name: Run Tests
run: bundle exec rake test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ coverage
ri
*.swp
Gemfile.lock
vendor
.bundle