forked from NightTsarina/python-rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
24 lines (21 loc) · 639 Bytes
/
tox.ini
File metadata and controls
24 lines (21 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tox]
envlist = py35,py36,py37,py38,py39
minversion = 2.0
isolated_build = True
skipsdist = True
[testenv]
# Install the module in `.` and its `test` extra dependencies from
# setup.cfg.
deps =
.[test]
changedir = /
# Point directly to the installed package, and do not use `python3 -m pytest`.
# This way we prevent importing the module from the current directory instead
# of the installed package, and failing when it cannot find the shared library.
commands = pytest {envsitepackagesdir}/rocksdb
[testenv:docs]
deps = .[doc]
commands = python3 setup.py build_sphinx -W
[pytest]
addopts = --verbose --pyargs
norecursedirs = .tox