Make subdivide_to_size crack-free (conformal refinement), fixes #1731 #2464
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Tests | |
| on: [pull_request,workflow_dispatch] | |
| permissions: | |
| contents: read | |
| jobs: | |
| formatting: | |
| name: Check Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.13" | |
| - name: Install | |
| run: pip install ruff | |
| - name: Run Ruff | |
| run: ruff check . | |
| tests: | |
| name: Run Unit Tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.13"] | |
| os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Test a minimal install | |
| run: | | |
| pip install --no-cache-dir . | |
| python tests/test_minimal.py | |
| - name: Install Trimesh | |
| run: pip install --no-cache-dir .[easy,test] | |
| - name: Run Pytest | |
| run: | | |
| pytest | |
| docker: | |
| name: Run Tests In Docker | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Run Pytest In Docker | |
| run: make tests | |
| arch: | |
| name: Architecture Tests (s390x + i386) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0 | |
| - name: Run Tests On s390x and i386 | |
| run: make test-arch | |
| corpus: | |
| runs-on: ubuntu-latest | |
| name: Check Corpus Loading | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Trimesh DiskCache | |
| id: cache-resolvers | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| with: | |
| path: ~/.trimesh-cache | |
| key: trimesh-cache | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.13" | |
| - name: Install Trimesh | |
| run: pip install .[easy,test] | |
| - name: Run Corpus Check | |
| run: python tests/corpus.py -run | |