.github/workflows/test.yml
name: Test
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- jruby
gemfiles:
- gemfiles/Gemfile-rspec-3.11.x
- gemfiles/Gemfile-rspec-3.12.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install --gemfile ${{ matrix.gemfiles }} --jobs 4 --retry 3
- run: bundle exec --gemfile ${{ matrix.gemfiles }} rake