update tox to run unit tests
This commit is contained in:
parent
fa611addc4
commit
1f80cc90b3
1 changed files with 4 additions and 8 deletions
12
tox.ini
12
tox.ini
|
@ -2,18 +2,14 @@
|
||||||
envlist = py37,py38,py39
|
envlist = py37,py38,py39
|
||||||
minversion = 3.7
|
minversion = 3.7
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
deps =
|
deps = -e .
|
||||||
-e
|
commands = python -m unittest discover . -v
|
||||||
.[test]
|
norecursedirs = .tox
|
||||||
commands = pytest {posargs:rocksdb/tests}
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = .[doc]
|
deps = .[doc]
|
||||||
commands = python setup.py build_sphinx -W
|
commands = python setup.py build_sphinx -W
|
||||||
|
|
||||||
[pytest]
|
|
||||||
addopts = --verbose
|
|
||||||
norecursedirs = .tox
|
|
||||||
|
|
Loading…
Reference in a new issue