<commit_before>image: wondermonger/ci-tools:v2

stages:
  - install
  - lint
  - test
  - deploy

install:
  artifacts:
    paths:
      - node_modules/
  script: ci-node-install
  stage: install

lint:
  script: ci-node-lint
  stage: lint

unit:
  script: ci-node-test unit
  stage: test

integration:
  script: ci-node-test integration
  stage: test

release:
  only:
    - master
  script:<commit_msg>fix ci config for integration tests<commit_after>image: wondermonger/ci-tools:v2

stages:
  - install
  - lint
  - test
  - deploy

install:
  artifacts:
    paths:
      - node_modules/
  script: ci-node-install
  stage: install

lint:
  script: ci-node-lint
  stage: lint

unit:
  script: ci-node-test unit
  stage: test

integration:
  services:
    - mongo
  script: ci-node-test integration
  stage: test
  variables:
    MONGODB_URI: mongodb://mongo/koa-session-mongoose

release:
  only:
    - master
  script:
{'fraction_non_alphanumeric': 0.09771986970684039, 'fraction_numerical': 0.002171552660152009, 'mean_word_length': 2.747967479674797, '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': '2794021', 'n_tokens_mistral': 342, 'n_tokens_neox': 339, 'n_words': 81}