Skip to content

Commit 47488cc

Browse files
authored
Merge pull request #255 from EliahKagan/py312
tests: Test on Python 3.12 (locally and on CI)
2 parents 1756288 + 229f286 commit 47488cc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
fail-fast: true
3939
matrix:
4040
os: [ubuntu, macos, windows]
41-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
41+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
4242
include:
4343
- experimental: false
44-
- python-version: "3.11"
44+
- python-version: "3.12"
4545
experimental: true
4646

4747
steps:
@@ -50,6 +50,7 @@ jobs:
5050
uses: actions/setup-python@v4
5151
with:
5252
python-version: ${{ matrix.python-version }}
53+
allow-prereleases: ${{ matrix.experimental }}
5354
- name: Install dependencies
5455
run: |
5556
python -m pip install --upgrade pip

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310,311}-jsonschema{23,24,25,26,30,40}-markdown{2,3}
2+
envlist = py{37,38,39,310,311,312}-jsonschema{23,24,25,26,30,40}-markdown{2,3}
33
skip_missing_interpreters = true
44

55
[gh-actions]
@@ -9,6 +9,7 @@ python =
99
3.9: py39
1010
3.10: py310
1111
3.11: py311
12+
3.12: py312
1213

1314
[testenv]
1415
commands =

0 commit comments

Comments
 (0)