<commit_before>---
name: test_build

on:
  push:
    paths:
      - "**.py"
      - "setup.cfg"
      - "MANIFEST.in"
      - "pyproject.toml"
      - "requirements.txt"
      - ".github/workflows/test_build.yaml"
      - ".github/workflows/tag_and_release.yaml"
  pull_request:
    paths:
      - "**.py"
      - "setup.cfg"
      - "MANIFEST.in"
      - "pyproject.toml"
      - "requirements.txt"
      - ".github/workflows/test_build.yaml"
      - ".github/workflows/tag_and_release.yaml"

jobs:
  test_build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
        python-version: ["3.8"]
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install build tools
        run: pip install setuptools wheel build pyinstaller
      - name: Install requirements
        run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
      - name: Run Tests - Source
        run: python tests/tests.py
      - name: Run build
        run: python3 -m build
      - name: Get Wheel File Path
        id: getwheelfile
        shell: bash<commit_msg>update build versions<commit_after>---
name: test_build

on:
  push:
    paths:
      - "**.py"
      - "setup.cfg"
      - "MANIFEST.in"
      - "pyproject.toml"
      - "requirements.txt"
      - ".github/workflows/test_build.yaml"
      - ".github/workflows/tag_and_release.yaml"
  pull_request:
    paths:
      - "**.py"
      - "setup.cfg"
      - "MANIFEST.in"
      - "pyproject.toml"
      - "requirements.txt"
      - ".github/workflows/test_build.yaml"
      - ".github/workflows/tag_and_release.yaml"

jobs:
  test_build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
        python-version: ["3.6", "3"]
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install build tools
        run: pip install setuptools wheel build pyinstaller
      - name: Install requirements
        run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
      - name: Run Tests - Source
        run: python tests/tests.py
      - name: Run build
        run: python3 -m build
      - name: Get Wheel File Path
        id: getwheelfile
        shell: bash
{'fraction_non_alphanumeric': 0.1274766355140187, 'fraction_numerical': 0.00411214953271028, 'mean_word_length': 1.9086956521739131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3809360', 'n_tokens_mistral': 880, 'n_tokens_neox': 867, 'n_words': 186}