-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (28 loc) · 739 Bytes
/
Copy pathtox.ini
File metadata and controls
30 lines (28 loc) · 739 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
[tox]
envlist =
; py39 ; end of life and gets in the way of minimum pins for lib versions
py310
py311
py312
py313
py314
requires =
tox-uv>=1.28
[testenv]
extras =
fast
deps =
# parameterized
pytest>=7.4.4
pytest-cov>=4.1.0
toml;python_version<'3.11'
pytest-benchmark>=4.0.0
hypothesis>=6.96.0
pytest_mock
pytest-xdist>=3.5.0
commands =
pytest test -q -n 5 --dist=loadfile --cov=bitrab --cov-fail-under=35 -p no:benchmark
python scripts/run_benchmarks.py test_perf/test_perf.py test_perf/test_perf_fast.py --benchmark-min-rounds=5 --benchmark-min-time=0.1 -p no:xdist
;pytest test -vv no:xdist --benchmark-only
setenv =
PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1