.github/workflows/tests.yml
name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
steps:
- uses: actions/checkout@v2
- name: Ruby and Bundle Install
uses: eregon/use-ruby-action@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Spec
env:
CI: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
COVERAGE: true
MINIMUM_COVERAGE: 80
run: bundle exec rspec