Merge pull request #282 from sisimai/7e85-error-message-patterns #36
This file contains 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: rake test | |
on: | |
push: | |
branches: ["5-stable"] | |
pull_request: | |
branches: ["5-stable"] | |
jobs: | |
test-cruby: | |
name: rake test with CRuby ${{ matrix.cruby }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cruby: ["2.4", "3.3"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup CRuby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.cruby }} | |
- run: gem install minitest -v 5.15.0 | |
- run: gem install oj -v 3.10.0 | |
- run: gem install bundle rake | |
- name: Cache the dependent gems | |
uses: actions/cache@v2 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-ruby-${{ matrix.cruby }}-${{ hashFiles('./gem.snapshot') }} | |
- run: ruby -v | |
- run: rake publictest | |
- run: rake privatetest | |
test-jruby: | |
name: rake test with JRuby ${{ matrix.jruby }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
jruby: ["jruby-9.2", "jruby-9.4"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JRuby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.jruby }} | |
- run: gem install minitest -v 5.15.0 | |
- run: gem install bundle rake jrjackson | |
- name: Cache the dependent gems | |
uses: actions/cache@v2 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-ruby-${{ matrix.jruby }}-${{ hashFiles('./gem.snapshot') }} | |
- run: ruby -v | |
- run: rake publictest | |
- run: rake privatetest | |