Add ensure_global_symlinks: true

https://review.opendev.org/#/c/736330/ has now added an option
ensure_global_symlinks (default 'flase') which has to be set to 'true'
if we want to use tox from normal path.

ex. 'tox -e linters -- flake8' in pep8 job.

Also ignores basepython conflict in tox.

Change-Id: Ia24678c1fe905d6c526d79f71ea973834074f703
This commit is contained in:
Rabi Mishra 2020-06-19 12:56:45 +05:30
parent b84805d38d
commit 4eceb23697
2 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,11 @@ minversion = 3.8
envlist = linters,py38
skipsdist = True
# Automatic envs will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True

View File

@ -9,6 +9,8 @@
- tripleo-undercloud-jobs
- tripleo-build-containers-jobs
- tripleo-standalone-scenarios-full
vars:
ensure_global_symlinks: true
check:
jobs:
- openstack-tox-linters