Skip to content

Commit 57734f5

Browse files
committed
Add support for Python 3.15
1 parent 6444b63 commit 57734f5

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.15", "3.14", "3.13", "3.12"]
16-
include:
17-
- python-version: "3.15"
18-
branch: "main"
15+
branch: ["main", "3.14", "3.13", "3.12"]
1916
steps:
2017
- uses: actions/checkout@v5
2118
- uses: actions/setup-python@v6
2219
with:
23-
python-version: ${{ matrix.python-version }}
20+
python-version: ${{ matrix.branch == 'main' && '3.15' || matrix.branch }}
2421
allow-prereleases: true
2522
cache: pip
2623
- name: Clone docsbuild scripts
@@ -41,7 +38,7 @@ jobs:
4138
--skip-cache-invalidation
4239
--theme "$(pwd)"
4340
--languages en
44-
--branches ${{ matrix.branch || matrix.python-version }}
41+
--branches ${{ matrix.branch }}
4542
${{ matrix.branch == 'main' && '--select-output no-html' || '' }}
4643
- name: Show logs
4744
if: failure()
@@ -50,7 +47,7 @@ jobs:
5047
- name: Upload
5148
uses: actions/upload-artifact@v5
5249
with:
53-
name: doc-html-${{ matrix.python-version }}
50+
name: doc-html-${{ matrix.branch }}
5451
path: www/
5552

5653
translations:

0 commit comments

Comments
 (0)