Skip to content

Add Support for Rails 7.0 & Rails 7.1 #30

Add Support for Rails 7.0 & Rails 7.1

Add Support for Rails 7.0 & Rails 7.1 #30

Workflow file for this run

name: RSpec
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
gemfile:
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
exclude:
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.0"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.1"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.2"
- gemfile: gemfiles/rails_7.0.gemfile
ruby: "2.5"
- gemfile: gemfiles/rails_7.0.gemfile
ruby: "2.6"
env:
BUNDLE_GEMFILE: ${{ format('{0}/{1}', github.workspace, matrix.gemfile) }}
BUNDLE_PATH: ${{ format('{0}/vendor/bundle', github.workspace) }}
BUNDLE_DEPLOYMENT: true
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec