forked from neo4j/neo4j-python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
24 lines (23 loc) · 689 Bytes
/
tox.ini
File metadata and controls
24 lines (23 loc) · 689 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
[tox]
envlist = py{310,311,312,313,314}-{unit,integration,performance}
[testenv]
passenv = TEST_*
dependency_groups =
test
extras =
numpy
pandas
pyarrow
setenv =
COVERAGE_FILE={envdir}/.coverage
TEST_SUITE_NAME={envname}
usedevelop = true
warnargs =
-W error -W ignore::pytest.PytestUnraisableExceptionWarning
parallel_show_output = true
commands =
coverage erase
unit: coverage run -m pytest {[testenv]warnargs} -v {posargs} tests/unit
integration: coverage run -m pytest {[testenv]warnargs} -v {posargs} tests/integration
performance: python -m pytest --benchmark-autosave -v {posargs} tests/performance
unit,integration: coverage report