Fix for JRuby 9.2 or later #2
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: | |
name: make Test with Ruby ${{ matrix.ruby }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["2.4", "2.7", "3.0", "3.3", "jruby-9.2", "jruby-9.3", "jruby-9.4"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- run: gem install minitest -v 5.15.0 | |
- run: gem install bundle rake | |
- name: Cache the dependent gems | |
uses: actions/cache@v2 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ hashFiles('./gem.snapshot') }} | |
- run: ruby -v | |
- run: rake test | |