Skip to content

Merge remote-tracking branch 'upstream/master' into HEAD #623

Merge remote-tracking branch 'upstream/master' into HEAD

Merge remote-tracking branch 'upstream/master' into HEAD #623

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ruby:
- 2.6
- 2.7
- '3.0'
- 3.1
gemfile:
- Gemfile.rails50
- Gemfile.rails51
- Gemfile.rails52 # Min ruby 2.2.2
- Gemfile.rails60 # Min ruby 2.5.0
- Gemfile.rails61 # Min ruby 2.5.0
- Gemfile.rails70 # Min ruby 2.7.0
exclude:
- gemfile: Gemfile.rails50
ruby: 2.7
- gemfile: Gemfile.rails50
ruby: '3.0'
- gemfile: Gemfile.rails50
ruby: 3.1
- gemfile: Gemfile.rails51
ruby: 2.7
- gemfile: Gemfile.rails51
ruby: '3.0'
- gemfile: Gemfile.rails51
ruby: 3.1
- gemfile: Gemfile.rails52
ruby: 2.7
- gemfile: Gemfile.rails52
ruby: '3.0'
- gemfile: Gemfile.rails52
ruby: 3.1
- gemfile: Gemfile.rails70
ruby: 2.6
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec