Skip to content

Commit 4b27470

Browse files
committed
tests: tox unit tests
1 parent 353d435 commit 4b27470

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

pyproject.toml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires-python = ">=3.10"
1111
dependencies = [
1212
"portpicker>=1.6.0",
1313
"pytest>=8.3.4",
14-
"scim2-server>=0.1.3",
14+
"scim2-server>=0.1.4",
1515
]
1616

1717
[dependency-groups]
@@ -54,3 +54,32 @@ force-single-line = true
5454

5555
[tool.ruff.format]
5656
docstring-code-format = true
57+
58+
[tool.tox]
59+
requires = ["tox>=4.19"]
60+
env_list = [
61+
"style",
62+
"py310",
63+
"py311",
64+
"py312",
65+
"py313",
66+
"minversions",
67+
]
68+
69+
[tool.tox.env_run_base]
70+
runner = "uv-venv-lock-runner"
71+
with_dev = true
72+
commands = [
73+
["pytest", "--showlocals", "--full-trace", "{posargs}"],
74+
]
75+
76+
[tool.tox.env.style]
77+
runner = "uv-venv-runner"
78+
commands = [
79+
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
80+
]
81+
82+
[tool.tox.env.minversions]
83+
runner = "uv-venv-lock-runner"
84+
with_dev = true
85+
uv_resolution = "lowest-direct"

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)