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] [testenv:releasenotes]
description = description =
Generate release notes. Generate release notes.
envdir = {toxworkdir}/shared
commands = commands =
sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html
[testenv:genswagger] [testenv:genswagger]
description = description =
Generate swagger files. Generate swagger files.
envdir = {toxworkdir}/shared
commands = commands =
skyline-swagger-generator -o swagger.json skyline-swagger-generator -o swagger.json
[testenv:genconfig] [testenv:genconfig]
description = description =
Generate config files. Generate config files.
envdir = {toxworkdir}/shared
commands = commands =
skyline-sample-config-generator -o etc/skyline.yaml.sample skyline-sample-config-generator -o etc/skyline.yaml.sample