<commit_before># This GitHub action runs your tests for each commit push and/or PR. Optionally
# you can turn it on using a cron schedule for regular testing.
name: Unit Tests
on:
  pull_request:
    paths-ignore:
      - 'README.md'
      - 'docs/**'
  push:
    paths-ignore:
      - 'README.md'
      - 'docs/**'
jobs:
  test:
      name: Unit Test
      runs-on: ubuntu-latest
      timeout-minutes: 15
      strategy:
          fail-fast: false
          matrix:
              # A list of Python versions to run the tests on
              python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
              include:
                - python-version: '2.7'
                  TOXENV: 'py27'
                - python-version: '3.5'
                  TOXENV: 'py35'
                - python-version: '3.6'
                  TOXENV: 'py36'
                - python-version: '3.7'
                  TOXENV: 'py37'
                - python-version: '3.8'
                  TOXENV: 'py38'
                - python-version: '3.9'
                  TOXENV: 'py39'
                - python-version: '3.6'
                  TOXENV: 'pep8'
      steps:
        - uses: actions/checkout@v3
        - name: Set up Python ${{ matrix.python-version }}
          uses: actions/setup-python@v3
          with:
            python-version: ${{ matrix.python-version }}
        - name: Install dependencies
          run: |
            python -m pip install --upgrade pip
            pip install -r requirements.txt
            pip install -r testing_requirements.txt
        - run: export TOXENV=${{ matrix.TOXENV }}
        - name: Test with tox
          run: tox<commit_msg>Updated TOXENV environment variable export method<commit_after># This GitHub action runs your tests for each commit push and/or PR. Optionally
# you can turn it on using a cron schedule for regular testing.
name: Unit Tests
on:
  pull_request:
    paths-ignore:
      - 'README.md'
      - 'docs/**'
  push:
    paths-ignore:
      - 'README.md'
      - 'docs/**'
jobs:
  test:
      name: Unit Test
      runs-on: ubuntu-latest
      timeout-minutes: 15
      strategy:
          fail-fast: false
          matrix:
              # A list of Python versions to run the tests on
              python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
              include:
                - python-version: '2.7'
                  TOXENV: 'py27'
                - python-version: '3.5'
                  TOXENV: 'py35'
                - python-version: '3.6'
                  TOXENV: 'py36'
                - python-version: '3.7'
                  TOXENV: 'py37'
                - python-version: '3.8'
                  TOXENV: 'py38'
                - python-version: '3.9'
                  TOXENV: 'py39'
                - python-version: '3.6'
                  TOXENV: 'pep8'
      steps:
        - uses: actions/checkout@v3
        - name: Set up Python ${{ matrix.python-version }}
          uses: actions/setup-python@v3
          with:
            python-version: ${{ matrix.python-version }}
        - name: Install dependencies
          run: |
            python -m pip install --upgrade pip
            pip install -r requirements.txt
            pip install -r testing_requirements.txt
        - name: Test with tox
          run: tox
          env:
            TOXENV: ${{ matrix.TOXENV }}
{'fraction_non_alphanumeric': 0.11292234736218139, 'fraction_numerical': 0.025489033787788974, 'mean_word_length': 1.305327868852459, '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': '892228', 'n_tokens_mistral': 1051, 'n_tokens_neox': 987, 'n_words': 279}