skyline-apiserver/tox.ini
zhu.boxiang 047f197844 refactor: Remove skyline-console submodule
1. Remove libs/skyline-console submodule
2. Delete .gitmodules file
3. Update the dependencies
4. Update the Dockerfile

Change-Id: I80eae423ba3c308bb7f4d817f9142d9877855e7a
2022-01-06 13:43:46 +08:00

37 lines
744 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
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