<commit_before>---
version: 2

references:
  filter_all: &filter_all
    filters:
      branches:
        only: /.*/
      tags:
        only: /.*/

  filter_head: &filter_head
    filters:
      branches:
        only: master
      tags:
        only: stg

  filter_release: &filter_release
    filters:
      branches:
        ignore: /.*/
      tags:
        only: /v[0-9]+\.[0-9]+\.[0-9]+(-[0-9])?/

general:
  artifacts:
    - coverage

jobs:
  test_node10:
    docker:
      - image: circleci/node:10
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node10-dependencies-{{ checksum "package.json" }}
          - v3-node10-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v3-node10-dependencies-{{ checksum "package.json" }}
      - run: npm test -- --maxWorkers=4
      - run: npm run build

  test_node12:
    docker:
      - image: circleci/node:12
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node12-dependencies-{{ checksum "package.json" }}
          - v3-node12-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v3-node12-dependencies-{{ checksum "package.json" }}
      - run: npm test -- --maxWorkers=4
      - run: npm run build

  test_node14:
    docker:
      - image: circleci/node:14
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node14-dependencies-{{ checksum "package.json" }}
          - v3-node14-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules<commit_msg>re-enables coveralls (with non-fatal failure)<commit_after>---
version: 2

references:
  filter_all: &filter_all
    filters:
      branches:
        only: /.*/
      tags:
        only: /.*/

  filter_head: &filter_head
    filters:
      branches:
        only: master
      tags:
        only: stg

  filter_release: &filter_release
    filters:
      branches:
        ignore: /.*/
      tags:
        only: /v[0-9]+\.[0-9]+\.[0-9]+(-[0-9])?/

general:
  artifacts:
    - coverage

jobs:
  test_node10:
    docker:
      - image: circleci/node:10
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node10-dependencies-{{ checksum "package.json" }}
          - v3-node10-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v3-node10-dependencies-{{ checksum "package.json" }}
      - run: npm test -- --maxWorkers=4
      - run: npm run build

  test_node12:
    docker:
      - image: circleci/node:12
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node12-dependencies-{{ checksum "package.json" }}
          - v3-node12-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v3-node12-dependencies-{{ checksum "package.json" }}
      - run: npm test -- --maxWorkers=4
      - run: npm run build
      - run: cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true

  test_node14:
    docker:
      - image: circleci/node:14
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          keys:
          - v3-node14-dependencies-{{ checksum "package.json" }}
          - v3-node14-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
{'fraction_non_alphanumeric': 0.12219792236194642, 'fraction_numerical': 0.02569710224166211, 'mean_word_length': 1.5731364275668074, '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': '2806597', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1176, 'n_words': 240}