Skip to content

Commit

Permalink
ci: add a tox environment to run the test
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garner-canonical committed Oct 9, 2024
1 parent 3bafdc5 commit 91ffa3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 91ffa3e

Please sign in to comment.