<commit_before>name: Test

on: push

jobs:
  # test:
  #   runs-on: ubuntu-latest
  #   strategy:
  #     matrix:
  #       database_adapter: ["mysql", "postgres", "sqlite"]
  #       ruby_version: [2.5, 2.7]
  #   env:
  #     INSTALL_PG: ${{ matrix.database_adapter == 'postgres' }}
  #     INSTALL_MYSQL: ${{ matrix.database_adapter == 'mysql' }}
  #   steps:
  #     - uses: actions/checkout@v2
  #     - uses: actions/setup-ruby@v1
  #       with:
  #         ruby-version: ${{ matrix.ruby_version }}
  #     - run: "bundle install"
  #     - run: "bundle exec rake"
  postgres:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby_version: [2.5, 2.7]
    services:
      postgres:
        image: postgres
        env:
          POSTGRES_PASSWORD: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
          - 5432:5432
    - uses: actions/checkout@v2
    - uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - run: "bundle install"
      env:
        INSTALL_PG: "true"
    - run: "bundle exec rake"
      env:
        INSTALL_PG: "true"
<commit_msg>chore: update test workflow<commit_after>name: Test

on: push

jobs:
  # test:
  #   runs-on: ubuntu-latest
  #   strategy:
  #     matrix:
  #       database_adapter: ["mysql", "postgres", "sqlite"]
  #       ruby_version: [2.5, 2.7]
  #   env:
  #     INSTALL_PG: ${{ matrix.database_adapter == 'postgres' }}
  #     INSTALL_MYSQL: ${{ matrix.database_adapter == 'mysql' }}
  #   steps:
  #     - uses: actions/checkout@v2
  #     - uses: actions/setup-ruby@v1
  #       with:
  #         ruby-version: ${{ matrix.ruby_version }}
  #     - run: "bundle install"
  #     - run: "bundle exec rake"
  postgres:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby_version: ["2.5", "2.7"]
    services:
      postgres:
        image: postgres
        env:
          POSTGRES_PASSWORD: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
          - 5432:5432
    - uses: actions/checkout@v2
    - uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - run: "bundle install"
      env:
        INSTALL_PG: "true"
    - run: "bundle exec rake"
      env:
        INSTALL_PG: "true"

{'fraction_non_alphanumeric': 0.13416599516518937, 'fraction_numerical': 0.019339242546333603, 'mean_word_length': 1.7898876404494382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '326964', 'n_tokens_mistral': 917, 'n_tokens_neox': 852, 'n_words': 173}