
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.3', '2.5', '2.6', '2.7', '3.0', jruby-9.2 ]
        ruby: [ 2.3, 2.5, 2.6, 2.7, 3.0, jruby-9.2, truffleruby-21.2 ]
        experimental: [ false ]
      fail-fast: false
    runs-on: ${{matrix.os}}
    continue-on-error: ${{matrix.experimental}}

    steps:
      - uses: actions/checkout@v2
      - 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



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.3', '2.5', '2.6', '2.7', '3.0', jruby-9.2 ]
        ruby: [ 2.3, 2.5, 2.6, 2.7, '3.0', 3.1, jruby-9.2, jruby-9.3, truffleruby-21.2 ]
        experimental: [ false ]
      fail-fast: false
    runs-on: ${{matrix.os}}
    continue-on-error: ${{matrix.experimental}}

    steps:
      - uses: actions/checkout@v2
      - 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


Add Ruby 3.1 and JRuby 9.3 to the CI matrix
Add Ruby 3.1 and JRuby 9.3 to the CI matrix

Quote the 3.0 so it is not truncated to 3.
