Skip to content

Commit

Permalink
Change CI to use macos-13 for Python 3.8 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Apr 23, 2024
1 parent 82e4664 commit b15d210
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,34 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
os: [ubuntu-latest, macos-13, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
# no pydantic-core binaries for pypy on windows, so tests take absolute ages
# macos tests with pypy take ages (>10mins) since pypy is very slow
# so we only test pypy on ubuntu
- os: ubuntu
- os: ubuntu-latest
python-version: 'pypy3.9'
- os: ubuntu
- os: ubuntu-latest
python-version: 'pypy3.10'
exclude:
# Python 3.8 and 3.9 are not available on macOS 14
- os: macos-13
python-version: '3.10'
- os: macos-13
python-version: '3.11'
- os: macos-13
python-version: '3.12'
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.9'

env:
OS: ${{ matrix.os }}
DEPS: yes

runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b15d210

Please sign in to comment.