Skip to content

drops tests for unsupported ruby versions and rails versions #64

drops tests for unsupported ruby versions and rails versions

drops tests for unsupported ruby versions and rails versions #64

Workflow file for this run

name: Run all tests
on: push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 3.0
- 3.1
- 3.2
name: Run gem tests
steps:
- uses: actions/checkout@v2
- name: Setup ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Cache gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ matrix.ruby }}
restore-keys: |
${{ runner.os }}-gems-${{ matrix.ruby }}
- name: Install bundler
run: gem install bundler
- name: Install gems
run: |
bundle config path vendor/bundle
bundle install
- name: Run tests
run: |
bundle exec rspec