Add ruby 3.2 and 3.3 to test matrix #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [2.6, 2.7, "3.0", 3.1, 3.2, 3.3, head] | |
rails: [4.2.11.3, 5.0.7.2, 5.1.7, 5.2.4.4, 6.0.3.4, 6.1.0, 7.0.3.1] | |
exclude: | |
# Ruby 2.6 and Rails 7 do not get along together. | |
- ruby: 2.6 | |
rails: 7.0.3.1 | |
# Ruby 3.0 and Rails 5 do not get along together. | |
- ruby: "3.0" | |
rails: 5.0.7.2 | |
- ruby: "3.0" | |
rails: 5.1.7 | |
- ruby: "3.0" | |
rails: 5.2.4.4 | |
- ruby: 3.1 | |
rails: 5.0.7.2 | |
- ruby: 3.1 | |
rails: 5.1.7 | |
- ruby: 3.1 | |
rails: 5.2.4.4 | |
- ruby: 3.2 | |
rails: 5.0.7.2 | |
- ruby: 3.2 | |
rails: 5.1.7 | |
- ruby: 3.2 | |
rails: 5.2.4.4 | |
- ruby: 3.3 | |
rails: 5.0.7.2 | |
- ruby: 3.3 | |
rails: 5.1.7 | |
- ruby: 3.3 | |
rails: 5.2.4.4 | |
- ruby: head | |
rails: 5.0.7.2 | |
- ruby: head | |
rails: 5.1.7 | |
- ruby: head | |
rails: 5.2.4.4 | |
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} | |
env: | |
RAILS_VERSION: ${{ matrix.rails }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: "Install dependencies (rails: ${{matrix.rails}})" | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec |