Skip to content

Commit

Permalink
[CI] exclude Python 3.7 on macos-latest (no longer supported by GitHub)
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed May 18, 2024
1 parent 8dd23c9 commit a5aa90d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,14 @@ jobs:
PY_BUILD_CMAKE_WHEEL_DIR: ${{ github.workspace }}/dist

build-macos:
runs-on: macos-latest
runs-on: ${{ matrix.on }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
on: ['macos-13', 'macos-latest']
exclude:
- python-version: '3.7'
on: 'macos-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -149,10 +153,14 @@ jobs:

test-macos:
needs: build-macos
runs-on: macos-latest
runs-on: ${{ matrix.on }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
on: ['macos-13', 'macos-latest']
exclude:
- python-version: '3.7'
on: 'macos-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -176,7 +184,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
os: [ubuntu-20.04, windows-2019, macos-13, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down

0 comments on commit a5aa90d

Please sign in to comment.