From: Kyr Shatskyy Date: Wed, 11 Dec 2019 03:22:53 +0000 (+0100) Subject: tox: add py3 env X-Git-Tag: 1.1.0~180^2~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f8ca5b8acf846b3f7c0622987566ea2c6b86e6c7;p=teuthology.git tox: add py3 env Signed-off-by: Kyr Shatskyy --- diff --git a/tox.ini b/tox.ini index 82245dd2e7..953c42330d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,12 +9,29 @@ deps= -r{toxinidir}/requirements.txt mock==2.0.0 fudge - pytest-cov==1.6 - coverage==3.7.1 + pytest-cov==2.8.1 + coverage==4.5.4 commands= py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} + +[testenv:py3] +basepython=python3 +install_command = pip install --upgrade {opts} {packages} +passenv = HOME +sitepackages=True +deps= + -r{toxinidir}/requirements.txt + mock==2.0.0 + fudge + pytest-cov==2.8.1 + coverage==4.5.4 + +commands= + py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} + + [testenv:py27-integration] install_command = pip install --upgrade {opts} {packages} passenv = HOME OS_REGION_NAME OS_AUTH_URL OS_TENANT_ID OS_TENANT_NAME OS_PASSWORD OS_USERNAME @@ -23,8 +40,8 @@ deps= -r{toxinidir}/requirements.txt mock==2.0.0 fudge - pytest-cov==1.6 - coverage==3.7.1 + pytest-cov==2.8.1 + coverage==4.5.4 commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology/test/integration teuthology/orchestra/test/integration} basepython=python2.7