Skip to content

Commit d8b4fa3

Browse files
committed
ci: update test workflow to support Python 3.13 and 3.14, adjust coverage report conditions
1 parent f97bf51 commit d8b4fa3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Tests
2+
permissions:
3+
contents: read
4+
pull-requests: write
25

36
on:
47
push:
@@ -12,7 +15,7 @@ jobs:
1215
runs-on: ubuntu-latest
1316
strategy:
1417
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
1619

1720
steps:
1821
- uses: actions/checkout@v4
@@ -35,7 +38,7 @@ jobs:
3538

3639
- name: Upload coverage reports as artifact
3740
uses: actions/upload-artifact@v4
38-
if: matrix.python-version == '3.12'
41+
if: matrix.python-version == '3.14'
3942
with:
4043
name: coverage-reports
4144
path: |
@@ -45,7 +48,7 @@ jobs:
4548

4649
- name: Coverage comment on PR
4750
uses: py-cov-action/python-coverage-comment-action@v3
48-
if: matrix.python-version == '3.12' && github.event_name == 'pull_request'
51+
if: matrix.python-version == '3.14' && github.event_name == 'pull_request'
4952
with:
5053
GITHUB_TOKEN: ${{ github.token }}
5154
MINIMUM_GREEN: 90

0 commit comments

Comments
 (0)