Skip to content

Commit a6e008d

Browse files
committed
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 <josh@jpellis.me>
1 parent 875a627 commit a6e008d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/test.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,23 @@ jobs:
9898
Tests py${{ matrix.python-version }} on ${{ matrix.os }}
9999
100100
runs-on: ${{ matrix.os }}
101-
continue-on-error: ${{ matrix.experimental }}
102101

103102
strategy:
104103
fail-fast: false
105104
matrix:
106105
os: [windows-latest, macos-latest]
107106
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
108-
experimental: [false]
107+
# Python 3.8 and 3.9 aren't supported on macos-latest (ARM)
108+
exclude:
109+
- os: macos-latest
110+
python-version: "3.8"
111+
- os: macos-latest
112+
python-version: "3.9"
113+
include:
114+
- os: macos-13
115+
python-version: "3.8"
116+
- os: macos-13
117+
python-version: "3.9"
109118

110119
steps:
111120
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4

0 commit comments

Comments
 (0)