Skip to content

Test with all supported versions of Rails #16

Test with all supported versions of Rails

Test with all supported versions of Rails #16

Workflow file for this run

name: CI
on:
- push
- pull_request
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', 'head']
rails: [ '6.0', '6.1', '7.0', 'edge' ]
script: [test]
experimental: [false]
include:
- ruby: '2.7'
script: templates:test
experimental: true
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake ${{ matrix.script }}