-
Notifications
You must be signed in to change notification settings - Fork 249
/
tox.ini
31 lines (28 loc) · 851 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py38, py39, py310, py311, py312, pypy3
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy-3.7: pypy3
[testenv]
commands = python -m unittest {posargs}
deps =
scipy; platform_python_implementation != "PyPy"
numpy; platform_python_implementation != "PyPy"
networkx; platform_python_implementation != "PyPy"
pandas; platform_python_implementation != "PyPy"
matplotlib; platform_python_implementation != "PyPy"
pytest; platform_python_implementation != "PyPy"
extras =
test
passenv = PATH
setenv =
TESTING_IN_TOX=1