Merge pull request #102 from inertiajs/fix-partial-rendering-after-de… #216
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: 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 |