Skip to content

Commit 32e26af

Browse files
authored
Start testing Python 3.15 Alpha (#7195)
* Add optional 3.15-dev runners to test matrix * Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY for 3.15 builds
1 parent 421b873 commit 32e26af

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ permissions:
88
jobs:
99
build:
1010
runs-on: ${{ matrix.os }}
11+
continue-on-error: ${{ matrix.python-version == '3.15-dev' }}
1112
timeout-minutes: 10
1213
strategy:
1314
fail-fast: false
1415
matrix:
15-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev", "pypy-3.11"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15-dev", "pypy-3.11"]
1617
os: [ubuntu-22.04, macOS-latest, windows-latest]
1718
# Pypy-3.11 can't install openssl-sys with rust
1819
# which prevents us from testing in GHA.
@@ -28,6 +29,8 @@ jobs:
2829
cache: 'pip'
2930
allow-prereleases: true
3031
- name: Install dependencies
32+
env:
33+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: ${{ matrix.python-version == '3.15-dev' && '1' || '' }}
3134
run: |
3235
make
3336
- name: Run tests

0 commit comments

Comments
 (0)