Modernise rspec-its, prepare version 2.0.0 dropping outdated RSpec / Ruby #48
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: RSpec CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - '*-maintenance' | |
| - '*-dev' | |
| pull_request: | |
| branches: | |
| - '*' | |
| env: | |
| RSPEC_CI: true | |
| jobs: | |
| test: | |
| name: Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }} | |
| runs-on: ${{ matrix.os || 'ubuntu-20.04' }} | |
| strategy: | |
| matrix: | |
| ruby: | |
| - '3.3' | |
| - '3.2' | |
| - '3.1' | |
| - '3.0' | |
| env: | |
| - | |
| BRANCH: "main" | |
| include: | |
| - ruby: '3.3' | |
| name_extra: "against RSpec 3.13" | |
| env: | |
| BRANCH: "3-13-maintenance" | |
| - ruby: '3.2' | |
| name_extra: "against RSpec 3.13" | |
| env: | |
| BRANCH: "3-13-maintenance" | |
| - ruby: '3.1' | |
| name_extra: "against RSpec 3.13" | |
| env: | |
| BRANCH: "3-13-maintenance" | |
| - ruby: '3.0' | |
| name_extra: "against RSpec 3.13" | |
| env: | |
| BRANCH: "3-13-maintenance" | |
| fail-fast: false | |
| continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }} | |
| env: ${{ matrix.env }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler: ${{ matrix.bundler || 2 }} | |
| ruby-version: ${{ matrix.ruby }} | |
| - run: script/update_rubygems_and_install_bundler | |
| - run: bundle install --binstubs --standalone | |
| - run: script/test_all |