Merge pull request #887 from Maxi-TD/pse #1812
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: CI | |
on: | |
pull_request: | |
branches: | |
- '**' | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Ruby ${{ matrix.version }} ${{ matrix.gemfile }} | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
strategy: | |
matrix: | |
version: | |
- 2.6 | |
- 2.7 | |
- 3.0 | |
- 3.1 | |
- 3.2 | |
gemfile: | |
- gemfiles/rails-6-0.gemfile | |
- gemfiles/rails-latest-release.gemfile | |
- gemfiles/rails-edge.gemfile | |
exclude: | |
- version: 2.6 | |
gemfile: gemfiles/rails-edge.gemfile | |
- version: 3.0 | |
gemfile: gemfiles/rails-6-0.gemfile | |
- version: 3.1 | |
gemfile: gemfiles/rails-6-0.gemfile | |
- version: 3.2 | |
gemfile: gemfiles/rails-6-0.gemfile | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.version }} | |
bundler-cache: true | |
rubygems: latest | |
- name: Test | |
run: bundle exec rake test |