tweaks to github actions testing (for 7.0, 7.1, 7.2, 8.0) #1
Workflow file for this run
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: RSpec Test Matrix | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rails: ["7.0", "7.1", "7.2", "8.0"] | |
ruby: ["3.1", "3.2", "3.3"] | |
env: | |
BUNDLE_GEMFILE: "spec/gemfiles/rails_${{ matrix.rails }}.gemfile" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # install gems and cache | |
- run: bundle install | |
- run: bundle exec rspec |