Update virtual_environment for genconfig and genpolicy
It is not necessary to create two new virtual environments when run tox with genconfig and genpolicy. We can use pep8 virtual_environment for those tox., it will reduce time to run tox. Change-Id: Ia07d325ed9550c8a201039754d96341f051c63f0
This commit is contained in:
parent
10ef7adcff
commit
d6b25aeb1a
2
tox.ini
2
tox.ini
@ -40,6 +40,7 @@ commands =
|
||||
|
||||
[testenv:genconfig]
|
||||
whitelist_externals = bash
|
||||
envdir = {toxworkdir}/pep8
|
||||
commands =
|
||||
oslo-config-generator --config-file etc/oslo-config-generator/barbican.conf
|
||||
|
||||
@ -123,6 +124,7 @@ deps = bindep
|
||||
commands = bindep test
|
||||
|
||||
[testenv:genpolicy]
|
||||
envdir = {toxworkdir}/pep8
|
||||
commands = oslopolicy-sample-generator --config-file=etc/oslo-config-generator/policy.conf
|
||||
|
||||
[hacking]
|
||||
|
Loading…
x
Reference in New Issue
Block a user