Skip to content

Test against latest Ruby and Rails (#326) #65

Test against latest Ruby and Rails (#326)

Test against latest Ruby and Rails (#326) #65

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
strategy:
fail-fast: false
matrix:
# To keep matrix size down, only test highest and lowest rubies.
ruby: ["2.7", "3.3"]
rails: ["6.1", "7.0", "7.1", "7.2"]
exclude:
- ruby: "2.7"
rails: "7.2"
name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: supercharge/mongodb-github-action@1.11.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake