Skip to content

Add Ruby 3.1, 3.2 and RoR 7 to the matrix #5

Add Ruby 3.1, 3.2 and RoR 7 to the matrix

Add Ruby 3.1, 3.2 and RoR 7 to the matrix #5

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile: [rails50, rails51, rails52, rails60, rails61, rails70]
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2"]
exclude:
- gemfile: rails50g
ruby: "3.0"
- gemfile: rails51
ruby: "3.0"
- gemfile: rails52
ruby: "3.0"
- gemfile: rails50
ruby: "3.1"
- gemfile: rails51
ruby: "3.1"
- gemfile: rails52
ruby: "3.1"
- gemfile: rails50
ruby: "3.2"
- gemfile: rails51
ruby: "3.2"
- gemfile: rails52
ruby: "3.2"
- gemfile: rails70
ruby: "2.5"
- gemfile: rails70
ruby: "2.6"
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake