* Remove pre-release suffixes from version numbers * For wrapper test, pull latest ganache image first * For wrapper test, unpin ganache, use beta snapshot * In docs, advise using beta ganache snapshot Because we haven't yet published the non-beta snapshot * Unpin package interdependencies * unpin tests from beta 0xorg/ganache-cli version * use beta ganache snapshot * Set release date in CHANGELOGs * In testing deployment, stop testing pre-releases * Include rmtree("build") in all clean commands * Fix clean not cleaning what it thought it was * In monorepo script, install pkgs 1st then dev deps * Stop pinning ganache snapshot version * In test setup, wait longer for mesh to start up * Fix broken hyperlinks in docs * fix missing \n that was breaking doc rendering * In monorepo script comment, fix typo, and clarify
27 lines
908 B
INI
27 lines
908 B
INI
# tox (https://tox.readthedocs.io/) 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 = py37
|
|
|
|
[testenv]
|
|
commands =
|
|
pip install -e .[dev]
|
|
python setup.py test
|
|
|
|
[testenv:run_tests_against_test_deployment]
|
|
commands =
|
|
# install dependencies from real PyPI
|
|
pip install 0x-contract-addresses 0x-contract-artifacts 0x-json-schemas 0x-order-utils 0x-web3 attrs eth_utils hypothesis>=3.31.2 mypy_extensions pytest
|
|
# install package-under-test from test PyPI
|
|
pip install --index-url https://test.pypi.org/legacy/ 0x-contract-wrappers
|
|
pytest test
|
|
|
|
[testenv:run_tests_against_deployment]
|
|
setenv = PY_IGNORE_IMPORTMISMATCH = 1
|
|
commands =
|
|
pip install 0x-contract-wrappers[dev]
|
|
pytest --doctest-modules src test
|