name: JRuby CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    container:
      image: jruby:9

    steps:
    - uses: actions/checkout@v1
    - name: Install dependencies
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
    - name: Run Tests
      run: bundle exec rake

name: JRuby CI

on: [push]

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-latest, macos-latest, windows-latest ]
        ruby: [ jruby-9.2.9.0, jruby-9.2.10.0, jruby-9.2.11.0, jruby-head ]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Install dependencies
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
    - name: Run Tests
      run: bundle exec rake

Test for multiple JRuby versions
CI: Test for multiple JRuby versions
