From 3981a2577ce0e1d4fa89b6cc1ee44503cb5bc6a0 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 5 Feb 2024 21:14:35 +0000 Subject: [PATCH] Restrict MacOS builds to fewer Python versions Per https://github.com/iustin/pyxattr/actions/runs/7778373717, not all versions are available on MacOS 14, so restrict to a smaller set. I don't think that extensive (across Python versions) on MacOS brings much, if the base Linux job does that. --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e47787..e076a28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, macos-14] + os: [ubuntu-22.04] python-version: - '3.7' - '3.8' @@ -38,6 +38,16 @@ jobs: - 'pypy-3.8' - 'pypy-3.9-nightly' - 'pypy-3.10-nightly' + include: + # Python < 3.10 is not available on macOS 14 + - os: macos-14 + python-version: '3.10' + - os: macos-14 + python-version: '3.11' + - os: macos-14 + python-version: '3.12' + - os: macos-14 + python-version: 'pypy-3.8' fail-fast: false steps: -- 2.39.5