From 155c214103febc73845348df38a350dc817af1f1 Mon Sep 17 00:00:00 2001 From: "Rost S." <63606118+NeoZorK@users.noreply.github.com> Date: Mon, 23 Nov 2026 21:02:35 +0200 Subject: [PATCH] CI: keep one macOS job and add a job timeout GitHub macOS arm64 runners are capacity-limited; three macOS jobs were never acquired and the run was cancelled after 15 minutes. Keep pytest on macOS with Python 3.12 for APFS and fcntl behaviour, drop the other macOS matrix entries and the macOS core coverage job (the core gate stays on Linux and Windows), and add timeout-minutes so a missing runner cannot hold the run. Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com> --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45dc90220..3cd942fd6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,6 +43,7 @@ jobs: os: windows-latest python: "3.12" pytest_args: "-q" + # One macOS job stays for APFS/fcntl behaviour; the rest of the macOS matrix runs locally. - job: "pytest-extra (macos-latest, python 3.12)" os: macos-latest python: "3.12" @@ -68,6 +69,8 @@ jobs: python: "3.13" pytest_args: "-n auto -q" runs-on: ${{ matrix.os }} + # macOS runners are scarce on GitHub; a job that never gets a runner must not hang the run. + timeout-minutes: 25 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 @@ -129,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7