<commit_before>name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [14.x,15.x]

    steps:
    - uses: actions/checkout@v1
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: npm install
      run: for dir in mingle.*; do (cd $dir && [ -e package.json ] && npm install --no-save --no-package-lock || true); done && git checkout .
    - name: npm ls
      run: npm ls
    - name: npm install nyc, prove, codecov
      run:  npm install -g nyc prove codecov
    - name: npm test
      run: nyc npm test
      env:
        CI: true
    - name: generate codecov report
      run: nyc report --reporter=text-lcov > coverage.lcov
    - name: ship coverage to codecov
      run: codecov --branch=${GITHUB_REF##*/}
      env:
        CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}<commit_msg>Run tests per directory at GitHub Actions.<commit_after>name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [14.x,15.x]

    steps:
    - uses: actions/checkout@v1
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: npm install
      run: for dir in mingle.*; do (cd $dir && [ -e package.json ] && npm install --no-save --no-package-lock || true); done && git checkout .
    - name: npm ls
      run: npm ls
    - name: npm install nyc, prove, codecov
      run:  npm install -g nyc prove codecov
    - name: npm test
      run: for dir in mingle.*; do (cd $dir && [ -e package.json ] && nyc npm test || true); done && git checkout .
      env:
        CI: true
    - name: generate codecov report
      run: nyc report --reporter=text-lcov > coverage.lcov
    - name: ship coverage to codecov
      run: codecov --branch=${GITHUB_REF##*/}
      env:
        CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
{'fraction_non_alphanumeric': 0.13257762444553967, 'fraction_numerical': 0.005914243469689502, 'mean_word_length': 2.152173913043478, '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': '746943', 'n_tokens_mistral': 718, 'n_tokens_neox': 670, 'n_words': 208}