zuul-jobs/roles/tox
Paul Belanger c6bf69e60b Create tox_package_name for tox role
This allows projects, that use tox but may not have a setup.cfg file
still use tox siblings. We do this to allow non-python project, to use
tox as an entry point for testing, and still have depends-on
requirements work in zuul.

Change-Id: I9b37117b27ff6b7e436d456b6cbae39ccb9b968c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-12-16 11:29:39 -05:00
..
defaults Remove default tox_envlist: venv 2020-07-16 21:59:57 +02:00
library Create tox_package_name for tox role 2020-12-16 11:29:39 -05:00
tasks Create tox_package_name for tox role 2020-12-16 11:29:39 -05:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
README.rst Create tox_package_name for tox role 2020-12-16 11:29:39 -05:00

Runs tox for a project

Role Variables

Environment variables to pass in to the tox run.

Comma separated string with test environments tox should run. ALL runs all test environments while an empty string runs all test environments configured with envlist in tox.

Path to a pip constraints file. Will be provided to tox via TOX_CONSTRAINTS_FILE (deprecated but currently still supported name is UPPER_CONSTRAINTS_FILE) environment variable if it exists.

Allows a user to setup the package name to be used by tox, over reading a setup.cfg file in the project.