Add ensure-tox support.

Use ensure_global_symlinks from ensure-tox to fix the CI fail. We need
to do that, because when we install the new sub environment in the new
project the tox is not visible. With the ensure_global_symlinks we do a
symlink into /usr/local/bin path.

Co-authored-by: Bernard Cafarelli <bcafarel@redhat.com>

Change-Id: I575e42fe15f16d0bd51597a540a13c4e384ec096
This commit is contained in:
Daniel Bengtsson 2020-08-07 11:36:21 +02:00
parent 7fc9cd7d52
commit db278b6103
1 changed files with 4 additions and 0 deletions

View File

@ -16,3 +16,7 @@
Uses tox with the ``cookiecutter`` environment.
vars:
tox_envlist: cookiecutter
# Use the ensure-tox role. Install a symlink to the tox executable into
# the /usr/local/bin path. It's useful when scripts need to be run that
# expect to find standard location.
ensure_global_symlinks: True