Skip to content

Commit 20d0b04

Browse files
committed
test: restore tox.ini, it is useful to test things locally [ci skip]
1 parent bdafc25 commit 20d0b04

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

tox.ini

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Tox (http://tox.testrun.org/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist = py36, py37, py38, py39, pypy, pypy3
8+
9+
[gh-actions]
10+
python =
11+
3.6: py36
12+
3.7: py37
13+
3.8: py38
14+
3.9: py39
15+
pypy-3.7: pypy3
16+
17+
[testenv]
18+
commands = python -m unittest
19+
deps =
20+
scipy; platform_python_implementation != "PyPy"
21+
numpy; platform_python_implementation != "PyPy"
22+
networkx; platform_python_implementation != "PyPy"
23+
pandas; platform_python_implementation != "PyPy"
24+
passenv = PATH
25+
setenv =
26+
TESTING_IN_TOX=1
27+

0 commit comments

Comments
 (0)