name: Tests on: push: branches: [main] pull_request: branches: [main] jobs: test: name: Ruby ${{ matrix.ruby-version }} - ${{ matrix.os }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest ruby-version: [2.6, 2.7] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@a699edbce608a2c128dedad88e3b6a0e28687b3c with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Test run: bundle exec rake test:local