Merge pull request #44 from floraison/dependabot/github_actions/actio… #148
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: test | |
| on: [ push, pull_request ] | |
| jobs: | |
| test: | |
| if: " ! (contains(github.event.head_commit.message, 'skip ci') || contains(github.event.head_commit.message, 'ci skip'))" | |
| name: ${{matrix.ruby}} on ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| ruby: [ '2.7', '3.4', 'jruby-9.4' ] | |
| #'truffleruby-22.3' ] # because no sqlite3 | |
| experimental: [ false ] | |
| fail-fast: false | |
| runs-on: ${{matrix.os}} | |
| continue-on-error: ${{matrix.experimental}} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{matrix.ruby}} | |
| bundler-cache: true | |
| - run: ruby --version | |
| - run: gem --version | |
| - run: bundle --version | |
| - run: bundle exec rspec --force-color --format documentation | |