Skip to content

Merge pull request #102 from inertiajs/fix-partial-rendering-after-de… #216

Merge pull request #102 from inertiajs/fix-partial-rendering-after-de…

Merge pull request #102 from inertiajs/fix-partial-rendering-after-de… #216

Workflow file for this run

name: Testing
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7]
rails: ['5.1', '5.2', '6.0', '6.1', '7.0']
exclude:
- rails: '7.0'
ruby: 2.6
runs-on: ubuntu-latest
name: Test against Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
steps:
- uses: actions/checkout@v2
- name: Setup System
run: sudo apt-get install libsqlite3-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install gems
env:
MATRIX_RAILS_VERSION: ${{ matrix.rails }}
run: |
export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/rails_${MATRIX_RAILS_VERSION}.gemfile"
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake