Skip to content

Commit 7f3da12

Browse files
committed
chore: add Python 3.12 to CI
1 parent 17363af commit 7f3da12

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: ["3.8", "3.9", "3.10", "3.11"]
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1212
os: [ubuntu-latest, windows-latest]
1313
exclude:
1414
- os: windows-latest
1515
python-version: "3.8"
1616
- os: windows-latest
1717
python-version: "3.9"
1818
- os: windows-latest
19-
python-version: "3.11"
19+
python-version: "3.10"
20+
- os: windows-latest
21+
python-version: "3.12"
2022

2123
steps:
2224
- uses: actions/checkout@v3

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"Programming Language :: Python :: 3.9",
7676
"Programming Language :: Python :: 3.10",
7777
"Programming Language :: Python :: 3.11",
78+
"Programming Language :: Python :: 3.12",
7879
"License :: OSI Approved :: MIT License",
7980
],
8081
keywords="api graphql protocol rest",

tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
black,flake8,import-order,mypy,manifest,
4-
py{38,39,310,311}
4+
py{38,39,310,311,312}
55
; requires = tox-conda
66

77
[gh-actions]
@@ -10,6 +10,7 @@ python =
1010
3.9: py39
1111
3.10: py310
1212
3.11: py311
13+
3.12: py312
1314

1415
[testenv]
1516
conda_channels = conda-forge
@@ -22,7 +23,7 @@ whitelist_externals =
2223
python
2324
commands =
2425
pip install -U setuptools
25-
py{38,39,310}: pytest tests {posargs}
26+
py{38,39,310,312}: pytest tests {posargs}
2627
py{311}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs}
2728

2829
[testenv:black]

0 commit comments

Comments
 (0)