<commit_before>
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: [ jruby ]
        ruby: [ '2.1', '2.3', '2.5', '2.6', '2.7', jruby-9.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 install
      - run: bundle exec rspec --force-color --format documentation
<commit_msg>Test on GHA Ruby 3.0<commit_after>
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: [ jruby ]
        ruby: [ '2.3', '2.5', '2.6', '2.7', '3.0', jruby-9.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 install
      - run: bundle exec rspec --force-color --format documentation

{'fraction_non_alphanumeric': 0.1660056657223796, 'fraction_numerical': 0.0169971671388102, 'mean_word_length': 2.0982456140350876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '938833', 'n_tokens_mistral': 633, 'n_tokens_neox': 587, 'n_words': 142}