Skip to content

May 2024: Add 16 error message patterns #34

May 2024: Add 16 error message patterns

May 2024: Add 16 error message patterns #34

Workflow file for this run

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