changed Vector base to not use PEP 695 generic syntax as I need to use #156
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: UV Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: UV tests | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: | |
| - "3.13" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| uv run pytest -p no:pytest-qt tests \ | |
| --ignore=tests/test_shaderlib.py \ | |
| --ignore=tests/test_texture.py \ | |
| --ignore=tests/test_text.py \ | |
| --ignore=tests/test_base_mesh.py \ | |
| --ignore=tests/test_primitives.py \ | |
| --ignore=tests/test_obj.py \ | |
| --ignore=tests/test_vao.py \ | |
| --ignore=tests/test_lookat_widget.py \ | |
| --ignore=tests/test_transform_widget.py \ | |
| --ignore=tests/test_vec4_widget.py \ | |
| --ignore=tests/test_rgb_colour_widget.py \ | |
| --ignore=tests/test_vec2_widget.py \ | |
| --ignore=tests/test_rgba_colour_widget.py \ | |
| --ignore=tests/test_webgpu_widget.py \ | |
| --ignore=tests/test_vec3_widget.py \ | |
| --ignore=tests/test_webgpu_constants.py \ | |
| --ignore=tests/test_webgpu_pipelines.py \ | |
| --ignore=tests/test_instanced_geometry_pipeline.py \ | |
| --ignore=tests/test_line_pipeline.py \ | |
| --ignore=tests/test_point_pipeline.py \ | |
| --ignore=tests/test_triangle_pipeline_coverage.py |