Skip to content

Commit 38a9d3d

Browse files
committed
Test with Python 3.12
Also simplify the test.yml workflow: using 'py' tox env will use whatever Python is found on the PATH.
1 parent 0dd9bce commit 38a9d3d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,8 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
tox_env: ["py310", "py311"]
22+
python: ["3.10", "3.11", "3.12"]
2323
os: [ubuntu-latest, windows-latest]
24-
include:
25-
- tox_env: "py310"
26-
python: "3.10"
27-
- tox_env: "py311"
28-
python: "3.11"
2924

3025
steps:
3126
- uses: actions/checkout@v4
@@ -39,4 +34,4 @@ jobs:
3934
pip install tox
4035
- name: Test
4136
run: |
42-
tox -e ${{ matrix.tox_env }}
37+
tox -e py

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"Programming Language :: Python :: 3",
4747
"Programming Language :: Python :: 3.10",
4848
"Programming Language :: Python :: 3.11",
49+
"Programming Language :: Python :: 3.12",
4950
],
5051
test_suite="tests",
5152
)

0 commit comments

Comments
 (0)