Skip to content

Commit 085b445

Browse files
authored
fix(ci): Test on Python 3.14 release candidate 3 on Linux and macOS (#3216)
1 parent 8bd3f63 commit 085b445

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,22 @@ jobs:
9393
fail-fast: false
9494
max-parallel: 11
9595
matrix:
96-
os: [windows-latest, macos-latest, ubuntu-latest]
97-
python: ["3.9", "3.11", "3.13"]
96+
# Windows on Python 3.14 is blocked by nodejs/node#59983
97+
os: [macos-latest, ubuntu-latest]
98+
python: ["3.10", "3.12", "3.14"]
9899
node: [20.x, 22.x, 24.x]
99100
include:
100-
- os: macos-13
101-
python: "3.13"
101+
- os: windows-latest
102+
python: "3.13" # Windows on Python 3.13 instead of 3.14
102103
node: 24.x
103-
- os: ubuntu-24.04-arm
104-
python: "3.13"
104+
- os: macos-15-intel # macOS on Intel
105+
python: "3.14"
105106
node: 24.x
106-
- os: windows-2025
107-
python: "3.13"
107+
- os: ubuntu-24.04-arm # Ubuntu on ARM
108+
python: "3.14"
109+
node: 24.x
110+
- os: windows-11-arm # Windows on ARM
111+
python: "3.13" # Windows on Python 3.13 instead of 3.14
108112
node: 24.x
109113
name: ${{ matrix.os }} - ${{ matrix.python }} - ${{ matrix.node }}
110114
runs-on: ${{ matrix.os }}
@@ -123,6 +127,7 @@ jobs:
123127
uses: actions/setup-python@v6
124128
with:
125129
python-version: ${{ matrix.python }}
130+
allow-prereleases: true
126131
env:
127132
PYTHON_VERSION: ${{ matrix.python }} # Why do this?
128133
- uses: seanmiddleditch/gha-setup-ninja@v6
@@ -169,10 +174,10 @@ jobs:
169174
shell: bash
170175
run: npm test --python="${pythonLocation}/python"
171176
env:
172-
FULL_TEST: ${{ (matrix.node == '22.x' && matrix.python == '3.13') && '1' || '0' }}
177+
FULL_TEST: ${{ (matrix.node == '24.x' && matrix.python == '3.14') && '1' || '0' }}
173178
- name: Run Tests (Windows)
174179
if: runner.os == 'Windows'
175180
shell: bash # Building wasm on Windows requires using make generator, it only works in bash
176181
run: npm run test --python="${pythonLocation}\\python.exe"
177182
env:
178-
FULL_TEST: ${{ (matrix.node == '22.x' && matrix.python == '3.13') && '1' || '0' }}
183+
FULL_TEST: ${{ (matrix.node == '24.x' && matrix.python == '3.13') && '1' || '0' }}

0 commit comments

Comments
 (0)