Add tox environment to check missing binary dependencies

Below tox environment allows to verify if all binary packages required
by tobiko have been installed. It would print missing ones.

 tox -e bindep

A job for this would be rendundant as upstread unit test jobs are
already executing bindep zuul base job that performs this verification
just after installing packages and running test cases.

Change-Id: Icf9e8bf00f798354da7cf4d816f68cd9ff89a55e
This commit is contained in:
Federico Ressi 2020-01-09 16:26:33 +01:00
parent e41d31589b
commit f0b194de90

10
tox.ini
View File

@ -221,3 +221,13 @@ setenv = {[base]setenv}
commands =
pip install git+https://github.com/testing-cabal/subunit.git@master
{toxinidir}/tools/ci/make_report
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
deps = bindep
commands = bindep test