Repository navigation
Stop expecting nil via must_equal in the specs upstream added #18
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: CI | |
| on: [push] | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Ruby ${{ matrix.ruby }} tests | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # '4' is a prefix match resolved against the version list baked into the | |
| # setup-ruby commit pinned below, so it only tracks new 4.x releases as far | |
| # as that pin. Bump the pin to pick up newer ones. | |
| ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0.5', '4', 'jruby-9.3'] | |
| steps: | |
| - uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - run: ./scripts/build | |
| - run: ./scripts/test | |
| buildall: | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| name: Build (matrix) | |
| needs: build | |
| steps: | |
| - name: Check build matrix status | |
| if: ${{ needs.build.result != 'success' }} | |
| run: exit 1 |