update tox to run unit tests

This commit is contained in:
Jack Robison 2022-03-26 15:19:13 -04:00
parent fa611addc4
commit 1f80cc90b3
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

12
tox.ini
View file

@ -2,18 +2,14 @@
envlist = py37,py38,py39
minversion = 3.7
skipsdist = True
skip_missing_interpreters = true
[testenv]
skip_install = True
deps =
-e
.[test]
commands = pytest {posargs:rocksdb/tests}
deps = -e .
commands = python -m unittest discover . -v
norecursedirs = .tox
[testenv:docs]
deps = .[doc]
commands = python setup.py build_sphinx -W
[pytest]
addopts = --verbose
norecursedirs = .tox