-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (46 loc) · 1.09 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
envlist=py3.{6,7,8,9,10,11}-{x86,x64}, docs
skip_missing_interpreters = true
minversion = 3.15.0
[testenv]
description = Run UnitTests
deps =
pytest
setuptools
twine
basepython =
py3.6-x86: python3.6-32
py3.6-x64: python3.6-64
py3.7-x86: python3.7-32
py3.7-x64: python3.7-64
py3.8-x86: python3.8-32
py3.8-x64: python3.8-64
py3.9-x86: python3.9-32
py3.9-x64: python3.9-64
py3.10-x86: python3.10-32
py3.10-x64: python3.10-64
py3.11-x86: python3.11-32
py3.11-x64: python3.11-64
py3.12-x86: python3.12-32
py3.12-x64: python3.12-64
docs: python3.10-64
commands = pytest tests/
passenv=
HEADLOCK_LOG
MINGW_I686_DIR
MINGW_X86_64_DIR
LLVM_DIR
[testenv:docs]
description = Build documentation.
deps = -r docs/requirements.txt
commands = sphinx-build -q -b html docs docs/_build
[pytest]
addopts =
-s
# allow debug console display values
--tb=short
# do not display standard traceback display of python but a more
# compact one
norecursedirs = .git
python_files = test*/test_*.py
python_functions=test_*