Skip to content

Commit 55f3ffb

Browse files
committed
[ci] Fix ci's tox import errors
Since the last update of tox (3.10.0), it seems that we cannot pass the `tox tests` because of import errors...so we set the `PYTHONPATH` environment variable for our tox tests so the test can find the modules
1 parent 61e092c commit 55f3ffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ deps =
1010
# makes it possible to override pytest args, e.g.
1111
# tox -- tests/test_graph.py
1212
commands = pytest {posargs:tests/}
13+
setenv =
14+
PYTHONPATH={toxinidir}
1315

1416
[testenv:pep8]
1517
deps = flake8

0 commit comments

Comments
 (0)