From ecb5c6d84e533ad39ba94a2a0e7540f09453c366 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 2 Jul 2022 01:18:21 -0400 Subject: [PATCH] tests: check boostraplike setup Signed-off-by: Henry Schreiner --- tox.ini | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5965ede93..1d01d95c7 100644 --- a/tox.ini +++ b/tox.ini @@ -47,8 +47,21 @@ commands = description = verify build can run from source (bootstrap) setenv = PYTHONPATH = {toxinidir}/src +skip_install = true +deps = + toml; python_version<"3.11" + packaging + pep517 + importlib-metadata; python_version<"3.8" + filelock + pytest + pytest-cov + pytest-mock + pytest-rerunfailures + pytest-xdist + wheel + setuptools commands = - python -E -m pip uninstall -y build pytest -ra {posargs:-n auto} [testenv:type]