Skip to content

Commit 0e96e78

Browse files
committed
Upgrade ci to python3.13
1 parent d5b294c commit 0e96e78

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.11
20+
python-version: 3.13
2121
- name: Installation (deps and package)
2222
run: pip install .
2323
- uses: pre-commit/[email protected]
@@ -49,7 +49,7 @@ jobs:
4949
pytest --cov=mdformat_pyproject --cov-report=xml --cov-report=term-missing
5050
5151
- name: Store PR number and commit SHA
52-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11
52+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
5353
run: |
5454
echo "Storing PR number ${{ github.event.number }}"
5555
echo "${{ github.event.number }}" > pr_number.txt
@@ -63,14 +63,14 @@ jobs:
6363
# Triggered sub-workflow is not able to detect the original commit/PR which is available
6464
# in this workflow.
6565
- name: Store PR number
66-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11
66+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
6767
uses: actions/upload-artifact@v4
6868
with:
6969
name: pr_number
7070
path: pr_number.txt
7171

7272
- name: Store commit SHA
73-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11
73+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
7474
uses: actions/upload-artifact@v4
7575
with:
7676
name: commit_sha
@@ -80,7 +80,7 @@ jobs:
8080
# is executed by a different workflow `coverage-report.yml`. The reason for this
8181
# split is because `on.pull_request` workflows don't have access to secrets.
8282
- name: Store coverage report in artifacts
83-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11
83+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
8484
uses: actions/upload-artifact@v4
8585
with:
8686
name: codecov_report
@@ -89,7 +89,7 @@ jobs:
8989
- run: |
9090
echo "The coverage report was stored in Github artifacts."
9191
echo "It will be uploaded to Codecov using [codecov.yml] workflow shortly."
92-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11
92+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
9393
9494
pre-commit-hook:
9595
runs-on: ubuntu-latest
@@ -99,7 +99,7 @@ jobs:
9999
- name: Set up Python
100100
uses: actions/setup-python@v4
101101
with:
102-
python-version: 3.11
102+
python-version: 3.13
103103

104104
- name: Installation (deps and package)
105105
run: |
@@ -118,10 +118,10 @@ jobs:
118118
steps:
119119
- name: Checkout source
120120
uses: actions/checkout@v3
121-
- name: Set up Python 3.11
121+
- name: Set up Python 3.13
122122
uses: actions/setup-python@v4
123123
with:
124-
python-version: 3.11
124+
python-version: 3.13
125125
- name: install flit
126126
run: |
127127
pip install flit~=3.0

0 commit comments

Comments
 (0)