name: CI run-name: CI on: push: branches: [main] paths: - '**.py' - 'pyproject.toml' pull_request: paths: - '**.py' - 'pyproject.toml' - '.github/workflows/**' workflow_dispatch: jobs: test: strategy: matrix: os: [ubuntu-latest, macos-14, windows-latest] python-version: ['3.12'] fail-fast: false runs-on: ${{ matrix.os }} steps: - name: Checkout repository uses: actions/checkout@v7 - name: Set up Python uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install uv uses: astral-sh/setup-uv@v8.3.1 with: enable-cache: true prune-cache: false cache-dependency-glob: pyproject.toml - name: Install system dependencies (Ubuntu) if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y libegl1 - name: Install dependencies run: uv pip install --system .[dev] env: UV_LINK_MODE: copy - name: Run tests env: QT_QPA_PLATFORM: offscreen run: pytest tests/ -v --tb=short