Skip to content

Commit 759bb82

Browse files
committed
tests: fix tox min job
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 19832b8 commit 759bb82

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tox.ini

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ skip_missing_interpreters = true
1313
[testenv]
1414
description =
1515
run test suite with {basepython}
16+
deps =
17+
pip
1618
extras =
1719
test
1820
pass_env =
@@ -71,9 +73,13 @@ commands_pre =
7173

7274
[testenv:{py313, py312, py311, py310, py39, py38, pypy38, pypy39, pypy310}-min]
7375
description = check minimum versions required of all dependencies
74-
skip_install = true
75-
commands_pre =
76-
pip install .[test] -c tests/constraints.txt
76+
set_env =
77+
PIP_CONSTRAINT = {toxinidir}/tests/constraints.txt
78+
UV_CONSTRAINT = {toxinidir}/tests/constraints.txt
79+
commands =
80+
PIP_CONSTRAINT='' UV_CONSTRAINT='' pytest -ra --cov --cov-config pyproject.toml \
81+
--cov-report=html:{envdir}/htmlcov --cov-context=test \
82+
--cov-report=xml:{toxworkdir}/coverage.{envname}.xml {posargs:-n auto}
7783

7884
[testenv:dev]
7985
description = generate a DEV environment

0 commit comments

Comments
 (0)