<commit_before>on:
  push:
    branches:
    - "**"
  pull_request:
    branches:
    - "**"
jobs:
  test:
    runs-on: ubuntu-latest
    env:
      COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
    strategy:
      matrix:
        node-version:
        - 12.x
        - 14.x
        - 16.x
    steps:
    - uses: actions/checkout@v3
    - name: NodeJS ${{ matrix.node-version }}
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}
    - run: npm install
    - run: npm test
    - run: if [[ $(node --version) == v16.* ]]; then npm run coveralls; fi
<commit_msg>ci: sets coveralls environment variable only where needed.<commit_after>on:
  push:
    branches:
    - "**"
  pull_request:
    branches:
    - "**"
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version:
        - 12.x
        - 14.x
        - 16.x
    steps:
    - uses: actions/checkout@v3
    - name: NodeJS ${{ matrix.node-version }}
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}
    - run: npm install
    - run: npm test
    - run: if [[ $(node --version) == v16.* ]]; then npm run coveralls; fi
      env:
        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

{'fraction_non_alphanumeric': 0.14319433516915814, 'fraction_numerical': 0.015735641227380016, 'mean_word_length': 1.8584269662921349, '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': '632379', 'n_tokens_mistral': 468, 'n_tokens_neox': 447, 'n_words': 97}