name: Test on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: ruby: - '2.5' - '2.6' - '2.7' - jruby gemfiles: - gemfiles/Gemfile-rspec-3.7.x - gemfiles/Gemfile-rspec-3.8.x - gemfiles/Gemfile-rspec-3.9.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