skyline-apiserver/tox.ini
zhu.boxiang 4dc1583958 feat: Add releatenotes
1. add releatenotes
2. add releatenotes into tox

Change-Id: I96414e63f36e4f481c35c82b9cd2c32e25f1a88b
2022-05-06 19:35:51 +08:00

47 lines
978 B
INI

[tox]
minversion = 3.18.0
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
envlist = unittest-py38,lint,functional,package
skipsdist=true
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
ignore_basepython_conflict=true
isolated_build=true
[testenv]
# Set default python version
basepython = python3
whitelist_externals =
make
poetry
rm
deps = poetry != 1.1.8
[testenv:unittest-py38]
commands =
make install
make test
[testenv:lint]
commands =
make install
make lint
[testenv:functional]
whitelist_externals =
echo
commands =
echo "TODO: Add functional test for skyline-apiserver"
[testenv:package]
commands =
make package
[testenv:releasenotes]
description =
Generate release notes.
commands =
make install
rm -rf releasenotes/build
poetry run sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html