Skip to content

Change the default tested ruby from 2.7 to 3.1 #69

Change the default tested ruby from 2.7 to 3.1

Change the default tested ruby from 2.7 to 3.1 #69

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 3.1
rails_version:
- 6.1.6.1
- 7.0.3.1
include:
- ruby: '2.7.8' # Rails 6.0 will not run on Ruby 3
rails_version: '6.0.5.1'
- ruby: '2.7.8' # Rails 5.2 will not run on Ruby 3
rails_version: '5.2.8.1'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
env:
RAILS_VERSION: ${{ matrix.rails_version }}
- name: Run tests
run: bundle exec rake
env:
RAILS_VERSION: ${{ matrix.rails_version }}