From 826fff745f1099175611f36b15d2d5ab2a6a836f Mon Sep 17 00:00:00 2001 From: mprahl Date: Tue, 7 Nov 2017 14:18:44 -0500 Subject: [PATCH] Try using pytest directly instead of tox --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 17eece63..a178daa7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ node('factory2'){ // We are using the system version of python-moksha-hub because it uses a version of Twisted that is // compatible with the system version of pyOpenSSL. This can all be shifted into a virtualenv once // koji is on PyPi. - onmyduffynode 'yum -y install @development python-pip python-devel krb5-devel openssl-devel koji python-moksha-hub swig python-tox createrepo_c' + onmyduffynode 'yum -y install @development python-pip python-devel krb5-devel openssl-devel koji python-moksha-hub swig createrepo_c' } stage('Clone Test Suite') { @@ -36,7 +36,7 @@ node('factory2'){ } stage('Run Test Suite') { - onmyduffynode 'cd fm-orchestrator && pip install -r requirements.txt && tox -e py27' + onmyduffynode 'cd fm-orchestrator && pip install -r requirements.txt && pip install -r test-requirements.txt && python setup.py develop && pytest -v tests/' } }catch (e){