name: Run Tests on: - push jobs: test: name: Run Tests runs-on: ubuntu-latest strategy: fail-fast: false matrix: gemfile: [ rails_5.1, rails_5.2, rails_6.0, rails_6.1 ] env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: RSpec run: bundle exec appraisal ${{ matrix.gemfile }} rspec