Update CI #15
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: CI | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| workflow_dispatch: | |
| # GitHub Actions notes | |
| # - outcome in step name so we can see it without having to expand logs | |
| # - every step must define a `uses` or `run` key | |
| jobs: | |
| test: | |
| name: >- | |
| ${{ matrix.os }} ${{ matrix.ruby }} | |
| env: | |
| TESTOPTS: -v | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04] | |
| ruby: | |
| - '3.0' | |
| - '3.1' | |
| - '3.2' | |
| - '3.3' | |
| - '3.4' | |
| include: | |
| - { os: ubuntu-24.04 , ruby: ruby-head } | |
| - { os: ubuntu-24.04 , ruby: jruby, allow-failure: true } | |
| - { os: ubuntu-24.04 , ruby: jruby-head } | |
| - { os: ubuntu-24.04 , ruby: truffleruby } | |
| - { os: ubuntu-24.04 , ruby: truffleruby-head, allow-failure: true } | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ruby/setup-ruby@v1 | |
| continue-on-error: ${{ matrix.allow-failure || false }} | |
| id: bundle | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: "setup-ruby and bundle install outcome: ${{ steps.bundle.outcome }}" | |
| run: echo "" | |
| - run: bundle exec rake | |
| continue-on-error: ${{ matrix.allow-failure || false }} | |
| id: test | |
| - name: "bundle exec rake outcome: ${{ steps.test.outcome }}" | |
| run: echo "" |