Skip to content

Commit

Permalink
fix(ci): add Python 3.13 pre-release to test matrix (#257)
Browse files Browse the repository at this point in the history
* GitHub Actions add Python 3.13 to test matrix

This version of Python is in beta now, and will be stable soonish.

* chore(ci): delete redundant macos-14 jobs from test matrix

macos-latest runners now resolve to macos-14.

(To be precise: the transition is still rolling out across some repos,
according to the announcement post, but workflows that have already
migrated won't switch back. The relevant workflows at this repo have
already migrated, so the explicit macos-14 jobs are now redundant
to the implicit macOS 14 (macos-latest) jobs, and can be removed
from the text matrix now.)

Making this change per review feedback on the PR.

Co-authored-by: Christian Clauss <[email protected]>

---------

Co-authored-by: Christian Clauss <[email protected]>
  • Loading branch information
DeeDeeG and cclauss authored May 12, 2024
1 parent 0fdb0ec commit 8597203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14, ubuntu-latest, windows-latest]
python: ["3.8", "3.10", "3.12"]
exclude:
- os: macos-14
python: "3.8"
os: [macos-latest, ubuntu-latest, windows-latest]
python: ["3.8", "3.10", "3.12", "3.13"]

runs-on: ${{ matrix.os }}
steps:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
os: [macos-latest, macos-14, ubuntu-latest] # , windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-14
python-version: "3.8"
- os: macos-14
python-version: "3.9"
os: [macos-latest, ubuntu-latest] # , windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 8597203

Please sign in to comment.