blob: cf89710e949b8a5206639e0376a17bfc74c2c1e5 [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
Ghanshyam4780eec2020-01-25 12:25:04 -06002envlist = py37,pep8
3minversion = 3.1.1
rabid2916d02017-09-22 18:19:24 +05304skipsdist = True
Ghanshyam4780eec2020-01-25 12:25:04 -06005ignore_basepython_conflict = True
rabid2916d02017-09-22 18:19:24 +05306
7[testenv]
Ghanshyam4780eec2020-01-25 12:25:04 -06008basepython = python3
rabid2916d02017-09-22 18:19:24 +05309userdevelop = True
10setenv = VIRTUAL_ENV={envdir}
11deps = -r{toxinidir}/requirements.txt
12 -r{toxinidir}/test-requirements.txt
13commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
14 testr run {posargs}
15
16[testenv:pep8]
ricolin9b02d1e2017-12-29 15:35:49 +080017setenv =
18 PYTHONPATH = .
19commands =
20 flake8
21 check-uuid --package heat_tempest_plugin
22
23[testenv:uuidgen]
24setenv =
25 PYTHONPATH = .
26commands =
27 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053028
rabid2916d02017-09-22 18:19:24 +053029[testenv:venv]
rabid2916d02017-09-22 18:19:24 +053030commands = {posargs}
31
32[flake8]
33show-source = True
34builtins = _
35exclude=.venv,.git,.tox,*lib/python*,private,.eggs