Skip to content

Commit

Permalink
fix(ci): macOS CI failing with python{3.7, 3.8, 3.9}
Browse files Browse the repository at this point in the history
Problem: macos-latest now points to M1 runners (macos-14-arm64) which do not
support python 3.7 - 3.9.

Solution: For these python versions, use the macos-12 (x86_64) runner.
  • Loading branch information
wookayin committed Nov 1, 2024
1 parent 648b0c7 commit a6175a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,21 @@ jobs:
exclude:
- os: 'ubuntu-latest'
python-version: '3.7'
- os: 'macos-latest'
python-version: '3.7'
- os: 'macos-latest'
python-version: '3.8'
- os: 'macos-latest'
python-version: '3.9'
include:
- os: 'ubuntu-20.04'
python-version: '3.7'
- os: 'macos-12'
python-version: '3.7'
- os: 'macos-12'
python-version: '3.8'
- os: 'macos-12'
python-version: '3.9'

name: "test (python ${{ matrix.python-version }}, ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit a6175a4

Please sign in to comment.