Skip to content

updated github action to only use the new default non gpu tests #154

updated github action to only use the new default non gpu tests

updated github action to only use the new default non gpu tests #154

Workflow file for this run

name: UV Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:

Check failure on line 9 in .github/workflows/uv.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/uv.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
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