1. Add `skyline-tox-functional-py38` job to execute unit tests 2. Add `skyline-tox-lint-py38` job to execute code static analysis Change-Id: I6ee8e89e72b3769a2803f8dc2a7b7a434f16e16f
30 lines
613 B
INI
30 lines
613 B
INI
[tox]
|
|
minversion = 3.18.0
|
|
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
|
envlist = functional-py38,lint
|
|
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
|
|
setenv =
|
|
IGNORE_JS = True
|
|
passenv = IGNORE_JS
|
|
deps = poetry != 1.1.8
|
|
|
|
[testenv:functional-py38]
|
|
commands =
|
|
make install
|
|
make test
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
make install
|
|
make lint
|