-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (28 loc) · 729 Bytes
/
tox.ini
File metadata and controls
36 lines (28 loc) · 729 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
25
26
27
28
29
30
31
32
33
34
35
36
[tox]
# nopyx is a special env where Cython is NOT installed, and thus we run
# pure-python tests
envlist = py38-test,py39-test,py310-test,py311-test,py312-test,py313-test,py314-test,pypy-{test,bench},pypy3-{test},docs
[testenv]
setenv =
TOX_ENV={envname}
deps =
pytest
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