<commit_before>name: CI

"on": [push, pull_request]

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run linters
        run: tox -e lint,docs-lint

  test:
    runs-on: ubuntu-latest
    needs: [lint]

    strategy:
      matrix:
        python-version:
          - 3.7
          - 3.8
        sphinx-version:
          - "23"
          - "latest"

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run mypy
        run: tox -e py-test-sphinx${{ matrix.sphinx-version }}

  typing:
    runs-on: ubuntu-latest
    needs: [lint]

    strategy:
      matrix:
        sphinx-version:
          - "23"
          - "latest"

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run tests
        run: tox -e typing-sphinx${{ matrix.sphinx-version }}<commit_msg>Fix labels in GitHub actions<commit_after>name: CI

"on": [push, pull_request]

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run linters
        run: tox -e lint,docs-lint

  test:
    runs-on: ubuntu-latest
    needs: [lint]

    strategy:
      matrix:
        python-version:
          - 3.7
          - 3.8
        sphinx-version:
          - "23"
          - "latest"

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run tox
        run: tox -e py-test-sphinx${{ matrix.sphinx-version }}

  typing:
    runs-on: ubuntu-latest
    needs: [lint]

    strategy:
      matrix:
        sphinx-version:
          - "23"
          - "latest"

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # full history for setuptools_scm

      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8

      - name: Python install
        run: |
          python -m pip install --upgrade pip
          pip install tox

      - name: Run mypy
        run: tox -e typing-sphinx${{ matrix.sphinx-version }}
{'fraction_non_alphanumeric': 0.09650865739426626, 'fraction_numerical': 0.011921657678115243, 'mean_word_length': 1.4455239417071477, 'pattern_counts': {'":': 2, '<': 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': '5905457', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1078, 'n_words': 306}