mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Move interop tests out of tests
It is moved to the top level package `tests_interop`, to avoid circular dependency, with the dependency moved to `tox`.
This commit is contained in:
20
tox.ini
20
tox.ini
@ -27,11 +27,10 @@ skip_glob=
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
passenv = CI TRAVIS TRAVIS_* GOPATH
|
||||
passenv = CI TRAVIS TRAVIS_*
|
||||
extras = test
|
||||
commands =
|
||||
test: py.test --ignore=tests/interop
|
||||
interop: py.test tests/interop
|
||||
test: py.test tests/ -v
|
||||
basepython =
|
||||
py37: python3.7
|
||||
|
||||
@ -40,6 +39,15 @@ basepython = python3
|
||||
extras = dev
|
||||
commands =
|
||||
mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini
|
||||
black --check libp2p tests examples setup.py
|
||||
isort --recursive --check-only libp2p tests examples setup.py
|
||||
flake8 libp2p tests examples setup.py
|
||||
black --check libp2p tests tests_interop examples setup.py
|
||||
isort --recursive --check-only libp2p tests tests_interop examples setup.py
|
||||
flake8 libp2p tests tests_interop examples setup.py
|
||||
|
||||
[testenv:py37-interop]
|
||||
deps = p2pclient
|
||||
passenv = CI TRAVIS TRAVIS_* GOPATH
|
||||
extras = test
|
||||
commands =
|
||||
test: py.test tests_interop/ -v
|
||||
basepython =
|
||||
py37: python3.7
|
||||
|
||||
Reference in New Issue
Block a user