Skip to content

Fix tests for activerecord main branch #14

Fix tests for activerecord main branch

Fix tests for activerecord main branch #14

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
# Run the linter first for rapid feedback if some trivial stylistic issues
# slipped through the cracks.
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- run: bundle exec rubocop
test:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
gemfile:
- activerecord_60.gemfile
- activerecord_61.gemfile
- activerecord_70.gemfile
- activerecord_71.gemfile
- activerecord_head.gemfile
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- run: bundle exec rake test