feat(sra_client.py): Test deployed pkg via tox
This commit is contained in:
parent
97e21106e5
commit
ace968a4fc
@ -8,3 +8,17 @@ deps=-r{toxinidir}/requirements.txt
|
|||||||
commands=
|
commands=
|
||||||
nosetests \
|
nosetests \
|
||||||
[]
|
[]
|
||||||
|
|
||||||
|
[testenv:run_tests_against_test_deployment]
|
||||||
|
commands =
|
||||||
|
# install dependencies from real PyPI
|
||||||
|
pip install mypy_extensions pytest
|
||||||
|
# install package-under-test from test PyPI
|
||||||
|
pip install --index-url https://test.pypi.org/legacy/ 0x-sra-client
|
||||||
|
pytest test
|
||||||
|
|
||||||
|
[testenv:run_tests_against_deployment]
|
||||||
|
deps=pytest
|
||||||
|
commands =
|
||||||
|
pip install 0x-sra-client
|
||||||
|
pytest test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user