Drop the windows/macos CI job: it can never run on this Gitea
Build PCM package / build (push) Successful in 6s
tests / ubuntu-latest · py3.11 (push) Successful in 57s
tests / ubuntu-latest · py3.13 (push) Successful in 2m22s
tests / archlinux:latest (push) Successful in 39s
tests / debian:12 (push) Successful in 47s
tests / fedora:latest (push) Successful in 58s
tests / ubuntu:24.04 (push) Successful in 1m13s
tests / NixOS (FHS wrapper from docs/NIXOS.md) (push) Has been skipped

Gitea evaluates a job's if-gate only once a runner with a matching
label claims it, so windows-latest cells wait forever and pin every
run (and the badge) at Waiting. The README table now says plainly
which rows CI covers (the Linux ones) and which are field-tested.
This commit is contained in:
2026-07-23 18:56:35 +07:00
parent 1cc48993af
commit 4f361d846a
2 changed files with 14 additions and 26 deletions
+6 -19
View File
@@ -128,25 +128,12 @@ jobs:
- run: uv run python -c "import PySide6.QtWidgets"
- run: uv run pytest -q
desktop:
name: ${{ matrix.os }} · py${{ matrix.python }}
# github.com only: no free Windows/macOS runners on self-hosted
# Gitea/Forgejo. Skipped (not queued) elsewhere.
if: github.server_url == 'https://github.com'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
python: ["3.11", "3.13"]
env:
UV_PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
- run: uv sync --frozen
- run: uv run python -c "import PySide6.QtWidgets"
- run: uv run pytest -q
# No windows/macos job: Gitea evaluates a job's `if` only after a
# runner with a matching label claims it, so runs-on: windows-latest
# cells sit in "Waiting" forever on this instance and pin the whole
# run (and badge) there. On a github.com mirror, add the job back:
# matrix os [windows-latest, macos-latest] x python [3.11, 3.13],
# steps: checkout, setup-uv, uv sync --frozen, pytest.
nixos:
name: NixOS (FHS wrapper from docs/NIXOS.md)