diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index ecd5455..9179def 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 6b59a1f..cdf85db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] diff --git a/tox.ini b/tox.ini index 834bc76..e71b430 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311}, + py{38,39,310,311,312}, [testenv] basepython = @@ -8,6 +8,7 @@ basepython = py39: python3.9 py310: python3.10 py311: python3.11 + py312: python3.12 passenv = CI,GITHUB_WORKFLOW @@ -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