Skip to content

Commit d45f741

Browse files
committed
Update test workflow for Python 3.14 support
Added Python 3.13 and 3.14 to the test matrix and updated Codecov upload to run on Python 3.14 with the latest action version. Coverage upload is now non-blocking for CI.
1 parent 8cad09f commit d45f741

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest]
21-
python-version: ["3.9", "3.10", "3.11", "3.12"]
21+
python-version: ["3.10", "3.11", "3.12", "3.13","3.14"]
2222
include:
2323
- os: windows-latest
24-
python-version: 3.9
24+
python-version: "3.14"
2525

2626
runs-on: ${{ matrix.os }}
2727

@@ -39,13 +39,13 @@ jobs:
3939
run: |
4040
pytest --cov=sphinx_external_toc --cov-report=xml --cov-report=term-missing
4141
- name: Upload to Codecov
42-
if: matrix.python-version == 3.11
43-
uses: codecov/codecov-action@v3
42+
if: matrix.python-version == '3.14'
43+
uses: codecov/codecov-action@v4
4444
with:
45-
name: pytests-py3.11
45+
name: pytests-py3.14
4646
flags: pytests
4747
file: ./coverage.xml
48-
fail_ci_if_error: true
48+
fail_ci_if_error: false # uploading coverage should not fail the tests
4949

5050
publish:
5151

0 commit comments

Comments
 (0)