fix: Add envdir to common commands in tox

Add envdir to common commands in tox

Change-Id: I60ad7e0263bde421eb766a01ec15b4177119a727
This commit is contained in:
yangsngshaoxue 2022-08-24 14:05:36 +08:00
parent 8fadde52bf
commit d1260ffc4d

View File

@ -99,18 +99,21 @@ commands =
[testenv:releasenotes]
description =
Generate release notes.
envdir = {toxworkdir}/shared
commands =
sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html
[testenv:genswagger]
description =
Generate swagger files.
envdir = {toxworkdir}/shared
commands =
skyline-swagger-generator -o swagger.json
[testenv:genconfig]
description =
Generate config files.
envdir = {toxworkdir}/shared
commands =
skyline-sample-config-generator -o etc/skyline.yaml.sample