Skip to content

Fixes

Fixes #5

Workflow file for this run

name: "CI"
on: push
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ["2.5", "2.7", "3.0", "3.1", "3.2"]
gemfile:
- rails_5_2
- rails_6
- rails_6_1
- rails_7
- rails_7_1
exclude:
- ruby: "3.2"
gemfile: "rails_6"
- ruby: "3.2"
gemfile: "rails_5_2"
- ruby: "3.1"
gemfile: "rails_6"
- ruby: "3.1"
gemfile: "rails_5_2"
- ruby: "3.0"
gemfile: "rails_6"
- ruby: "3.0"
gemfile: "rails_5_2"
- ruby: "2.7"
gemfile: "rails_5_2"
- ruby: "2.5"
gemfile: "rails_7_1"
- ruby: "2.5"
gemfile: "rails_7"
runs-on: ubuntu-22.04
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
steps:
- name: Checkout code
uses: actions/checkout@v3
# Add or replace dependency steps here
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: 2
# Add or replace test runners here
- name: Run tests
run: bin/rake test