Skip to content

Commit

Permalink
Add Python 3.12 to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Oct 17, 2023
1 parent a1840e8 commit 54d114e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9']

steps:

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,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 :: PyPy",
"Topic :: Software Development :: Build Tools",
]
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist =
py{38,39,310,311},
py{38,39,310,311,312},

[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12

passenv = CI,GITHUB_WORKFLOW

Expand All @@ -18,5 +19,5 @@ deps =
commands =
pre-commit run -a
mypy --install-types --non-interactive
coverage run --append -m unittest codicefiscale
coverage run --append --source=codicefiscale -m unittest
coverage report --show-missing --ignore-errors

0 comments on commit 54d114e

Please sign in to comment.