diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-03-30 12:44:51 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-03-30 12:44:51 -0400 |
commit | 4f11e934aca7beb29a752f414669eac80f5b504d (patch) | |
tree | 91c43dc1101c2ce8eb5d80bf10d5a5eb385078c1 | |
parent | e2d780c76d0748754c9c3935ee5e6e5493bc3cd4 (diff) |
Added a tox.ini that runs the unit tests against different versions of Python.
-rw-r--r-- | tox.ini | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ +[tox] +env_list = + py{36, 37, 38, 39, 310, 311} +minversion = 4.4.8 + +[testenv] +description = run the tests with all dependencies installed +package = wheel +wheel_build_env = .pkg +deps = + lxml + html5lib + soupsieve>=1.2 + pytest>=6 +commands = + pytest {tty:--color=yes} {posargs} + +[testenv:oldpy] +description = run the tests on a very old version of Python without any dependencies installed +basepython = py36 +package = wheel +wheel_build_env = .pkg +deps = + pytest>=6 +commands = + pytest {tty:--color=yes} {posargs} + |