Merge pull request #143 from simbilod/142-cant-draw-more-than-one-sur… #416
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| pre-commit: | |
| name: Pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: 'pyproject.toml' | |
| - uses: pre-commit/action@v3.0.1 | |
| run_regressions: | |
| name: Test code | |
| needs: pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Generate references from reference version | |
| run: bash generate_references.sh | |
| working-directory: tests | |
| - name: Install dependencies | |
| run: sudo apt-get install libglu1-mesa | |
| - name: Test | |
| run: uv run --extra dev pytest -n auto |