From 1f80cc90b3d652a7b70cdcc7bcaa056d799861f0 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sat, 26 Mar 2022 15:19:13 -0400 Subject: [PATCH] update tox to run unit tests --- tox.ini | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tox.ini b/tox.ini index c0dfabe..24b5bac 100644 --- a/tox.ini +++ b/tox.ini @@ -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