mozci/tox.ini

20 строки
479 B
INI

[tox]
isolated_build = true
envlist = py310,pre-commit
[testenv]
envdir = {toxworkdir}/env
deps =
poetry == 1.4.2
passenv = TRAVIS_EVENT_TYPE
setenv =
integration: TRAVIS_EVENT_TYPE = cron
commands =
poetry install -vv --no-ansi -E cache
!integration: poetry run pytest -vv {posargs:tests/}
integration: poetry run pytest -vv tests/test_integration.py {posargs}
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure