From 91ffa3ed16e8096f57d00a42f12a0dba086c6c67 Mon Sep 17 00:00:00 2001 From: James Garner Date: Wed, 9 Oct 2024 18:19:12 +1300 Subject: [PATCH] ci: add a tox environment to run the test --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 3f76f4924..2043eec58 100644 --- a/tox.ini +++ b/tox.ini @@ -102,6 +102,10 @@ commands = pip install pylxd python -m pytest --tb native -ra -v -s {posargs:-m 'serial'} +[testenv:validate] +envdir = {toxworkdir}/validate +commands = python -m pytest --tb native -ra -v tests/validate + [testenv:example] envdir = {toxworkdir}/py3 commands = python {posargs}