<commit_before>name: Test

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "*"

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]

    steps:
      - name: Install libgnutls28-dev
        run: |
          sudo apt update -q
          sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev

      - uses: actions/checkout@v3.0.2

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

      - name: Install project dependencies
        run: |
          pip install --upgrade pip
          pip install codecov tox tox-gh-actions

      - name: Run tests with tox
        run: tox

      - name: Run coverage
        run: codecov<commit_msg>build(deps): bump actions/setup-python from 3 to 4<commit_after>name: Test

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "*"

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]

    steps:
      - name: Install libgnutls28-dev
        run: |
          sudo apt update -q
          sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev

      - uses: actions/checkout@v3.0.2

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

      - name: Install project dependencies
        run: |
          pip install --upgrade pip
          pip install codecov tox tox-gh-actions

      - name: Run tests with tox
        run: tox

      - name: Run coverage
        run: codecov
{'fraction_non_alphanumeric': 0.11549295774647887, 'fraction_numerical': 0.023661971830985916, 'mean_word_length': 1.736517719568567, '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': '1651215', 'n_tokens_mistral': 611, 'n_tokens_neox': 572, 'n_words': 153}