mirror of
https://opendev.org/openstack/neutron.git
synced 2026-01-16 23:11:58 +00:00
[tox] Re add option to override py3 version with TOX_PYTHON
Got dropped in https://review.opendev.org/950581 Also add ignore_basepython_conflict = True to avoid:- tox.tox_env.errors.Fail: env name py312 conflicting with base python python3 Change-Id: I0b2e88c8cf7a532280ceaf0bdaeb240297f1270f Signed-off-by: yatinkarel <ykarel@redhat.com>
This commit is contained in:
parent
47b54e94ae
commit
6c729befc1
1 changed files with 2 additions and 0 deletions
2
tox.ini
2
tox.ini
|
|
@ -1,10 +1,12 @@
|
|||
[tox]
|
||||
envlist = docs,py3,pep8
|
||||
minversion = 4.6.0
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
description =
|
||||
Run unit tests.
|
||||
basepython = {env:TOX_PYTHON:python3}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue