1717 uses : actions/setup-python@v5
1818 id : setup-python
1919 with :
20- python-version-file : " pyproject.toml "
20+ python-version : " 3.13 "
2121
2222 - name : Install uv
2323 uses : astral-sh/setup-uv@v5
4242 needs : lint
4343 strategy :
4444 matrix :
45- python-version : ["3.9", "3.10", "3.11"]
45+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
4646 runs-on : ubuntu-latest
4747 permissions :
4848 pull-requests : write
@@ -78,12 +78,12 @@ jobs:
7878 uv run pytest --cov=src --cov-report=term-missing
7979
8080 - name : Generate coverage report
81- if : matrix.python-version == '3.11 '
81+ if : matrix.python-version == '3.13 '
8282 run : |
8383 uv run pytest --cov=src --cov-report=xml:coverage.xml
8484
8585 - name : Pytest coverage comment
86- if : matrix.python-version == '3.11 '
86+ if : matrix.python-version == '3.13 '
8787 id : coverageComment
8888 uses : MishaKav/pytest-coverage-comment@main
8989 with :
9999 unique-id-for-comment : " python-coverage"
100100
101101 - name : Update README with coverage badge
102- if : matrix.python-version == '3.11 '
102+ if : matrix.python-version == '3.13 '
103103 run : |
104104 # Extract coverage percentage and color from the coverageComment step
105105 COVERAGE_PERCENTAGE=$(echo "${{ steps.coverageComment.outputs.coverage }}" | grep -o '[0-9]*%' | tr -d '%')
@@ -115,12 +115,12 @@ jobs:
115115 <!-- Pytest Coverage Comment:End -->" README.md
116116
117117 - name : Clean up coverage file
118- if : matrix.python-version == '3.11 '
118+ if : matrix.python-version == '3.13 '
119119 run : |
120120 rm -f coverage.xml
121121
122122 - name : Commit and push README changes
123- if : matrix.python-version == '3.11 '
123+ if : matrix.python-version == '3.13 '
124124 uses : actions-js/push@master
125125 with :
126126 github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments