glance-specs/tox.ini
Cyril Roelandt 86d0efcd78 Add a script to prepare the next cycle
Running tox -eprepare-next-cycle will apply all necessary changes, only
requiring that the user review and commit the changes.

Change-Id: I5f10d901e47a8062c87506fbc3e68f2536a47480
2023-04-05 15:20:52 +02:00

28 lines
568 B
INI

[tox]
minversion = 3.1.1
envlist = docs,pep8
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
allowlist_externals =
rm
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
[testenv:prepare-next-cycle]
deps =
commands =
{toxinidir}/scripts/prepare-next-cycle.sh {posargs}