From d9666e9c63a5eb29bd0a4c5cbe966768e42aafd3 Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Thu, 25 Apr 2024 10:40:48 +1000 Subject: [PATCH] ci: fix macos-latest The GitHub runners behind `macos-latest` were recently upgraded to `macos-14` running on ARM / M1 architecture. Unfortunately, Python 3.8 and 3.9 aren't supported on ARM. Signed-off-by: JP-Ellis --- .github/workflows/test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd846e6875..41cbcf3821 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,14 +98,23 @@ jobs: Tests py${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: os: [windows-latest, macos-latest] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - experimental: [false] + # Python 3.8 and 3.9 aren't supported on macos-latest (ARM) + exclude: + - os: macos-latest + python-version: "3.8" + - os: macos-latest + python-version: "3.9" + include: + - os: macos-13 + python-version: "3.8" + - os: macos-13 + python-version: "3.9" steps: - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4