2015-02-26 16:18:44 +00:00
|
|
|
[tox]
|
2020-06-19 10:44:57 +00:00
|
|
|
envlist = flake8, mypy, pytest
|
2015-02-26 16:18:44 +00:00
|
|
|
skipsdist = True
|
|
|
|
|
2020-06-19 10:44:57 +00:00
|
|
|
[testenv:flake8]
|
2019-12-09 16:27:46 +00:00
|
|
|
basepython = python3
|
|
|
|
deps=
|
|
|
|
flake8
|
|
|
|
commands=flake8 --select=F,E9 --exclude=venv,.tox
|
|
|
|
|
2020-01-09 07:28:22 +00:00
|
|
|
[testenv:mypy]
|
|
|
|
basepython = python3
|
2020-12-08 14:36:11 +00:00
|
|
|
deps = mypy==0.790
|
2020-01-09 07:28:22 +00:00
|
|
|
commands = mypy {posargs:.}
|
2020-03-13 11:38:10 +00:00
|
|
|
|
|
|
|
[testenv:import-tasks]
|
|
|
|
basepython = python3
|
|
|
|
deps = {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@master}#egg=teuthology[coverage,orchestra,test]
|
|
|
|
commands = python test_import.py {posargs:tasks/**/*.py}
|
2020-05-25 16:13:50 +00:00
|
|
|
|
|
|
|
[testenv:pytest]
|
|
|
|
basepython = python3
|
|
|
|
deps =
|
|
|
|
{env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@master}#egg=teuthology[test]
|
|
|
|
httplib2
|
|
|
|
commands = pytest -vv tasks/tests
|