Skip to content

Commit

Permalink
ci: fix macos-latest
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
JP-Ellis committed Apr 25, 2024
1 parent 875a627 commit d9666e9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9666e9

Please sign in to comment.