--- name: Tests 'on': push: branches: - master pull_request: branches: - master jobs: test: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: include: - ruby: 3.0.0 gemfile: tests/rails-6_capybara-3/Gemfile # Used to run rspec and integration tests for spreewald binary: - ruby: 2.6.6 gemfile: Gemfile.ruby266 - ruby: 3.0.0 gemfile: Gemfile.ruby300 env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: - uses: actions/checkout@v2 - name: Install ruby uses: ruby/setup-ruby@v1 with: ruby-version: "${{ matrix.ruby }}" - name: Bundle run: | gem install bundler:1.17.3 bundle install --no-deployment - name: Run tests run: bundle exec rake matrix:single_test[${{ matrix.gemfile }},${{ matrix.ruby }}]