mirror of
https://opendev.org/openstack/python-heatclient.git
synced 2026-01-16 23:00:35 +00:00
This is a precursor to having them run under check and gate. This also fixes a single test which fails on PyPy, the test failes at because it assumes a ``dict`` has a particular order for its keys when it is printed out, on PyPy dicts have a different order sometimes, the exact ordering is not a guarnteed property of Python. Change-Id: Ie86726a0221e5e9aa68f7303d8ca8c7acd878f65
27 lines
569 B
INI
27 lines
569 B
INI
[tox]
|
|
envlist = py26,py27,pypy,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:cover]
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = H233,H302,H501
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|