Changeset View
Changeset View
Standalone View
Standalone View
helm/dagster/schema/tox.ini
[tox] | [tox] | ||||
envlist = py{38,37,36}-{unix,windows},pylint,mypy | envlist = py{38,37,36}-{unix,windows},pylint,mypy | ||||
[testenv] | [testenv] | ||||
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE | passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE | ||||
deps = | deps = | ||||
-e ../../../python_modules/dagster[test] | -e ../../../python_modules/dagster[test] | ||||
-e .[test] | -e .[test] | ||||
usedevelop = true | usedevelop = true | ||||
whitelist_externals = | whitelist_externals = | ||||
/bin/bash | /bin/bash | ||||
echo | echo | ||||
commands = | commands = | ||||
!windows: /bin/bash -c '! pip list --exclude-editable | grep -e dagster -e dagit' | !windows: /bin/bash -c '! pip list --exclude-editable | grep -e dagster -e dagit' | ||||
echo -e "--- \033[0;32m:pytest: Running tox tests\033[0m" | echo -e "--- \033[0;32m:pytest: Running tox tests\033[0m" | ||||
pytest -vv {posargs} | pytest --reruns 2 -vv {posargs} | ||||
[testenv:pylint] | [testenv:pylint] | ||||
whitelist_externals = | whitelist_externals = | ||||
pylint | pylint | ||||
basepython = | basepython = | ||||
python3.7 | python3.7 | ||||
commands = | commands = | ||||
pylint -j 0 --rcfile=../../../.pylintrc schema_tests | pylint -j 0 --rcfile=../../../.pylintrc schema_tests |