Skip to content

Commit 1b11846

Browse files
authored
Run CI tests on Python 3.15 (#1367)
Python 3.15 is about to be released, and we should be testing on it.
1 parent 40a3832 commit 1b11846

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/workflows/tests.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ jobs:
1717
# job.
1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"]
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222
loop: [asyncio, uvloop]
2323
exclude:
2424
# uvloop does not support windows
2525
- loop: uvloop
2626
os: windows-latest
27+
# The test dependency group excludes uvloop on Python 3.15.
28+
- loop: uvloop
29+
python-version: "3.15"
30+
- loop: uvloop
31+
python-version: "3.15t"
2732

2833
runs-on: ${{ matrix.os }}
2934

@@ -65,6 +70,9 @@ jobs:
6570
if: "!steps.release.outputs.is_release"
6671
with:
6772
python-version: ${{ matrix.python-version }}
73+
# Track the latest 3.15 build, including prereleases before GA.
74+
allow-prereleases: ${{ startsWith(matrix.python-version, '3.15') }}
75+
check-latest: ${{ startsWith(matrix.python-version, '3.15') }}
6876

6977
- name: Install Python Deps
7078
if: "!steps.release.outputs.is_release"

0 commit comments

Comments
 (0)