Skip to content

Commit d93aa3d

Browse files
committed
✅ add tox configuration and update dependencies in pyproject.toml
1 parent c7a7a77 commit d93aa3d

File tree

2 files changed

+1309
-1179
lines changed

2 files changed

+1309
-1179
lines changed

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ dev = [
7373
"pytest~=8.3.5",
7474
"pytest-asyncio~=0.24.0",
7575
"ruff>=0.11.9",
76+
"tox>=4.27.0",
77+
"tox-gh>=1.5.0",
78+
"tox-uv>=1.26.1",
7679
]
7780

7881
[tool.hatch.version]
@@ -315,3 +318,20 @@ ignore_errors = true
315318

316319
[tool.pytest.ini_options]
317320
asyncio_mode = "auto"
321+
322+
[tool.tox]
323+
requires = ["tox>=4"]
324+
env_list = ["3.13", "3.12", "3.11", "3.10"]
325+
326+
[tool.tox.env_run_base]
327+
description = "run unit tests"
328+
commands = [["pytest", { replace = "posargs", default = ["tests"], extend = true }]]
329+
runner = "uv-venv-lock-runner"
330+
dependency_groups = ["dev"]
331+
332+
# GitHub actions
333+
[tool.tox.gh.python]
334+
"3.13" = ["3.13"]
335+
"3.12" = ["3.12"]
336+
"3.11" = ["3.11"]
337+
"3.10" = ["3.10"]

0 commit comments

Comments
 (0)