<commit_before>version: 2.1


orbs:
  orb: invocations/orb@1.1.0


jobs:
  # Unit+integration tests, with coverage
  coverage:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv ci.make-sudouser
      # Split up coverage generation (under sudo for integration suite) and
      # compiling/uploading (wants to be as main user)
      - run: inv ci.sudo-run 'inv coverage'
      - run: coverage xml
      - run: codecov
      - orb/debug

  regression:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv regression
      - orb/debug

  doctests:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv www.doctest
      - orb/debug


workflows:
  main:
    jobs:
      - orb/lint:
          name: Lint
      - orb/format:
          name: Style check
      - coverage:
          name: Test 3.6
      - regression:
          name: Regression tests
#      - orb/test-release:
#          name: Release test
      - orb/test:
          name: Test << matrix.version >>
          requires: ["Test 3.6"]
          matrix:
            parameters:
              version: ["3.7", "3.8", "3.9"]
      - orb/docs:
          name: "Docs"
          requires: ["Test 3.6"]
      - doctests:
          name: "Doctests"
          requires: ["Docs"]<commit_msg>Re-enable release test on Circle<commit_after>version: 2.1


orbs:
  orb: invocations/orb@1.1.0


jobs:
  # Unit+integration tests, with coverage
  coverage:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv ci.make-sudouser
      # Split up coverage generation (under sudo for integration suite) and
      # compiling/uploading (wants to be as main user)
      - run: inv ci.sudo-run 'inv coverage'
      - run: coverage xml
      - run: codecov
      - orb/debug

  regression:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv regression
      - orb/debug

  doctests:
    executor:
      name: orb/default
      version: "3.6"
    steps:
      - orb/setup
      - run: inv www.doctest
      - orb/debug


workflows:
  main:
    jobs:
      - orb/lint:
          name: Lint
      - orb/format:
          name: Style check
      - coverage:
          name: Test 3.6
      - regression:
          name: Regression tests
      - orb/test-release:
          name: Release test
      - orb/test:
          name: Test << matrix.version >>
          requires: ["Test 3.6"]
          matrix:
            parameters:
              version: ["3.7", "3.8", "3.9"]
      - orb/docs:
          name: "Docs"
          requires: ["Test 3.6"]
      - doctests:
          name: "Doctests"
          requires: ["Docs"]
{'fraction_non_alphanumeric': 0.11213955144179423, 'fraction_numerical': 0.016375934496262016, 'mean_word_length': 1.4955595026642985, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '3057079', 'n_tokens_mistral': 939, 'n_tokens_neox': 902, 'n_words': 241}