<commit_before>name: Run Tests

on: [pull_request,workflow_dispatch]

permissions:
  contents: read

jobs:
  formatting:
    name: Check Formatting
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: 3.8
    - name: Install Formatting
      run: |
        pip install autopep8 flake8 flake8-no-implicit-concat
    - name: Check Formatting
      run: |
        flake8 tests
        flake8 trimesh
        echo ${{github.ref}}
        flake8 examples
        flake8 setup.py
        autopep8 --recursive --aggressive --diff --exit-code trimesh/
        autopep8 --recursive --aggressive --diff --exit-code examples/
        autopep8 --recursive --aggressive --diff --exit-code tests/

  tests:
    name: Run Unit Tests
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [3.8]
        os: [ubuntu-latest, windows-latest, macos-latest]
        include:
          - os: ubuntu-latest
            python-version: 2.7
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: ${{ matrix.python-version }}
    - name: Test a minimal install
      run: |
        pip install .
        python tests/test_minimal.py
    - name: Install Linux Deps
      if: matrix.os == 'ubuntu-latest'
      run: sudo bash docker/builds/gltf_validator.bash
    - name: Install Trimesh
      run: pip install .[easy,test]
    - name: Run Pytest
      run: pytest
<commit_msg>CI path<commit_after>name: Run Tests

on: [pull_request,workflow_dispatch]

permissions:
  contents: read

jobs:
  formatting:
    name: Check Formatting
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: 3.8
    - name: Install Formatting
      run: |
        pip install autopep8 flake8 flake8-no-implicit-concat
    - name: Check Formatting
      run: |
        flake8 tests
        flake8 trimesh
        echo ${{github.ref}}
        flake8 examples
        flake8 setup.py
        autopep8 --recursive --aggressive --diff --exit-code trimesh/
        autopep8 --recursive --aggressive --diff --exit-code examples/
        autopep8 --recursive --aggressive --diff --exit-code tests/

  tests:
    name: Run Unit Tests
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [3.8]
        os: [ubuntu-latest, windows-latest, macos-latest]
        include:
          - os: ubuntu-latest
            python-version: 2.7
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: ${{ matrix.python-version }}
    - name: Test a minimal install
      run: |
        pip install .
        python tests/test_minimal.py
    - name: Install Linux Deps
      if: matrix.os == 'ubuntu-latest'
      run: sudo bash docker/gltfvalidator.bash
    - name: Install Trimesh
      run: pip install .[easy,test]
    - name: Run Pytest
      run: pytest

{'fraction_non_alphanumeric': 0.1078009828009828, 'fraction_numerical': 0.012285012285012284, 'mean_word_length': 2.007386888273315, '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': '2612840', 'n_tokens_mistral': 1068, 'n_tokens_neox': 1021, 'n_words': 271}