.github/workflows/ruby.yml
name: RSpec Matrix
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: [2.5, 2.6, 2.7, 3.0, jruby]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: bundle exec rake spec