Skip to content

Merge pull request #126 from cbeer/deprecated-ruby #74

Merge pull request #126 from cbeer/deprecated-ruby

Merge pull request #126 from cbeer/deprecated-ruby #74

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'
- ruby: '3.2.2'
rails_version: '7.1.1'
- ruby: '3.3.0'
rails_version: '7.1.1'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
- 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 }}