-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
54 lines (50 loc) · 890 Bytes
/
tox.ini
File metadata and controls
54 lines (50 loc) · 890 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist = py37, py38, py39, py310, py311, py312, lint, doc
[testenv]
passenv =
CI
DONUTS_PYTHON_BACKEND
GRADLE_USER_HOME
PIP_CACHE_DIR
http_proxy
https_proxy
no_proxy
setenv =
PY_COLORS=1
deps =
py4j # alternative to pyjnius
jpype1
pytest
pytest-benchmark
pytest-cov
toml
commands =
pytest --benchmark-disable
pytest --benchmark-skip --cov={envsitepackagesdir}/donuts
[testenv:lint]
skip_install = true
deps =
invoke
pre-commit
commands =
invoke lint
[testenv:doc]
skip_install = true
deps =
invoke
poetry
sphinx
sphinx-autodoc-typehints
commands =
poetry export -f requirements.txt -o requirements.txt
pip install -r requirements.txt
invoke build
invoke doc
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312