-
Notifications
You must be signed in to change notification settings - Fork 27
/
tox.ini
37 lines (29 loc) · 792 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
# nopyx is a special env where Cython is NOT installed, and thus we run
# pure-python tests
envlist = py37-test,py38-test,py39-test,py310-test,py311-test,pypy-{test,bench},pypy3-{test},docs
[testenv]
setenv =
TOX_ENV={envname}
deps =
pytest==6.2.5
#git+https://github.com/antocuni/pytest-benchmark.git#egg=pytest-benchmark
commands =
test: py.test {envsitepackagesdir}/capnpy/testing -rs --pyx {posargs}
bench: echo "BENCHMARKS ARE DISABLED" && false
#bench: py.test {envsitepackagesdir}/capnpy/benchmarks -rs --benchmark-autosave {posargs}
[testenv:docs]
setenv =
USE_CYTHON=0
whitelist_externals =
make
deps =
pytest==4.6.11
sphinx
sphinx_rtd_theme
mock
dotmap
pygal
commands =
py.test docs/ext
make -C docs doctest