Skip to content

Commit a3ddf42

Browse files
committed
GitHub Actions: Add Python 3.13 to the testing
1 parent 5d9d604 commit a3ddf42

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
os: [ubuntu-latest, macos-13, macos-latest]
71-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
71+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
7272
exclude:
7373
# Python 3.8 and 3.9 are not available on macOS 14
7474
- os: macos-13
@@ -77,6 +77,8 @@ jobs:
7777
python-version: '3.11'
7878
- os: macos-13
7979
python-version: '3.12'
80+
- os: macos-13
81+
python-version: '3.13'
8082
- os: macos-latest
8183
python-version: '3.8'
8284
- os: macos-latest
@@ -104,8 +106,8 @@ jobs:
104106
# display coverage and fail if it's below 80%, which shouldn't happen
105107
- run: coverage report --fail-under=80
106108

107-
# test demo on 3.11 and 3.12, these tests are intentionally omitted from coverage
108-
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
109+
# test demo on >= 3.11, these tests are intentionally omitted from coverage
110+
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12' || matrix.python-version == '3.13'
109111
run: pytest demo/tests.py
110112

111113
- run: coverage xml
@@ -157,7 +159,7 @@ jobs:
157159
with:
158160
python-version: '3.11'
159161

160-
- run: pip install -U build
162+
- run: pip install --upgrade build
161163

162164
- id: check-version
163165
uses: samuelcolvin/check-python-version@v4.1

0 commit comments

Comments
 (0)