From b01a27d3bad4ebc0ce2d23f6471eeb64e143abe4 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Tue, 17 Oct 2023 21:18:40 +0200 Subject: [PATCH] Add `Python 3.12` to tests. --- .github/workflows/test-package.yml | 2 +- pyproject.toml | 1 + tox.ini | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 939c4fa..dfe66ea 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 a8d036d..c340ca2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,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 :: Desktop Environment :: File Managers", "Topic :: Software Development :: Build Tools", diff --git a/tox.ini b/tox.ini index 3bf308f..ae0112d 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 fsutil + coverage run --append --source=fsutil -m unittest coverage report --show-missing --ignore-errors