name: Run tests on: pull_request: push: branches: - '**' tags-ignore: - 'v*' jobs: test: name: "Run tests" if: "!contains(github.event.head_commit.message, '[ci skip]')" runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - ruby: "3.2" - ruby: "3.1" - ruby: "3.0" - ruby: "2.7" steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run RSpec run: bundle exec rspec