Skip to content

Commit

Permalink
Add Python 3.12 to tests. (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo authored Oct 31, 2023
1 parent 955019b commit 8486566
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']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Education :: Testing",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Filesystems",
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 @@ -17,5 +18,5 @@ deps =

commands =
pre-commit run -a
coverage run --append -m unittest benedict
coverage run --append --source=benedict -m unittest
coverage report --show-missing --ignore-errors

0 comments on commit 8486566

Please sign in to comment.