-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtox.ini
43 lines (40 loc) · 973 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
38
39
40
41
42
43
[tox]
isolated_build = true
envlist = py, py_partial
[testenv]
passenv = *
deps =
poetry==1.7.1
allowlist_externals =
flake8
sphinx-build
mypy
[testenv:py]
commands =
poetry install -v
flake8
mypy
sphinx-build docs docs/_build
poetry run pytest --cov-config=.coveragerc \
--cov-report=xml \
--cov=eir \
--cov-fail-under 75 \
--store-durations \
--splitting-algorithm=least_duration \
--durations-path=tests/.test_durations \
tests/
[testenv:py_partial]
commands =
poetry install -v
flake8
mypy
sphinx-build docs docs/_build
poetry run pytest --splits 5 \
--group {env:PYTEST_GROUP} \
--cov-config=.coveragerc \
--cov-report=xml \
--cov=eir \
--store-durations \
--splitting-algorithm=least_duration \
--durations-path=tests/.test_durations \
tests/