blob: 9fd8bda73a29dc68959968ef67f440ca64196376 [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
sandriichenko6fa72332018-02-26 12:17:57 +02002envlist = pep8
rabid2916d02017-09-22 18:19:24 +05303minversion = 0.1
4skipsdist = True
5
6[testenv]
7userdevelop = True
8setenv = VIRTUAL_ENV={envdir}
9deps = -r{toxinidir}/requirements.txt
10 -r{toxinidir}/test-requirements.txt
Pavlo Shchelokovskyybdd7b282020-12-15 10:29:11 +020011 -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
rabid2916d02017-09-22 18:19:24 +053012commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
13 testr run {posargs}
14
15[testenv:pep8]
ricolin9b02d1e2017-12-29 15:35:49 +080016setenv =
17 PYTHONPATH = .
18commands =
19 flake8
20 check-uuid --package heat_tempest_plugin
21
22[testenv:uuidgen]
23setenv =
24 PYTHONPATH = .
25commands =
26 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053027
28[testenv:docs]
29deps = -r{toxinidir}/requirements.txt
30 -r{toxinidir}/test-requirements.txt
31 sphinxcontrib-httpdomain
32commands = python setup.py build_sphinx
33
34[testenv:venv]
35commands = {posargs}
36
37[flake8]
38show-source = True
39builtins = _
40exclude=.venv,.git,.tox,*lib/python*,private,.eggs