2018-08-08 13:31:41 +00:00
|
|
|
[tox]
|
2020-11-09 21:46:25 +00:00
|
|
|
# can't install from sdist because local pyo3 repo can't be included in the sdist
|
|
|
|
skipsdist = true
|
2018-08-08 13:31:41 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
description = Run the unit tests under {basepython}
|
|
|
|
deps = -rrequirements-dev.txt
|
2020-11-09 21:46:25 +00:00
|
|
|
commands =
|
2021-04-01 23:03:49 +00:00
|
|
|
# Use pip master with in-tree-build feature (to be released in pip 21.1)
|
|
|
|
python -m pip install --upgrade git+https://github.com/pypa/pip.git
|
|
|
|
python -m pip install . --use-feature=in-tree-build
|
2020-11-09 21:46:25 +00:00
|
|
|
pytest {posargs}
|