<commit_before>version: 2.0

my-steps: &steps
  - checkout
  - run: sudo pip install -r requirements.txt
  - run: sudo pip install flake8 pytest
  - run: python --version ; pip --version ; pwd ; ls -l
  # stop the build if there are Python syntax errors or undefined names
  - run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
  #- run: pytest # test_s2gs test_replays
  # - run: python -m unittest discover test_s2gs
  - run: python -m unittest discover test_replays

jobs:
  Python2:
    docker:
      - image: circleci/python:2.7.15
    steps: *steps

  Python3:
    docker:
      - image: circleci/python:3.7
    steps: *steps

workflows:
  version: 2
  build:
    jobs:
      - Python2
      - Python3<commit_msg>run s2gs test again<commit_after>version: 2.0

my-steps: &steps
  - checkout
  - run: sudo pip install -r requirements.txt
  - run: sudo pip install flake8 pytest
  - run: python --version ; pip --version ; pwd ; ls -l
  # stop the build if there are Python syntax errors or undefined names
  - run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
  #- run: pytest # test_s2gs test_replays
  - run: python -m unittest discover test_s2gs
  - run: python -m unittest discover test_replays

jobs:
  Python2:
    docker:
      - image: circleci/python:2.7.15
    steps: *steps

  Python3:
    docker:
      - image: circleci/python:3.7
    steps: *steps

workflows:
  version: 2
  build:
    jobs:
      - Python2
      - Python3
{'fraction_non_alphanumeric': 0.109375, 'fraction_numerical': 0.0447198275862069, 'mean_word_length': 2.6198830409356724, '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': '4511945', 'n_tokens_mistral': 695, 'n_tokens_neox': 642, 'n_words': 200}