Skip to content

Commit

Permalink
Admin: Enable tests for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers committed Dec 3, 2023
1 parent 4f44963 commit 67d8714
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
implementation:
- '' # CPython
- 'pypy' # PyPy
Expand All @@ -40,6 +41,8 @@ jobs:
python-version: '3.10'
- implementation: 'pypy'
python-version: '3.11'
- implementation: 'pypy'
python-version: '3.12'

steps:
- uses: actions/checkout@master
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pytest
pytest-coverage
coveralls
python-dateutil >= 2.7
maya; python_version >= '3.7'
maya; python_version < '3.12'
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py37, py38, py39, py310, py311, pypy3, mypy
envlist = py37, py38, py39, py310, py311, py312, pypy3, mypy

[testenv]
commands = pytest --cov {posargs}
Expand Down

0 comments on commit 67d8714

Please sign in to comment.