From 8018517568cca66f7422feb0d246c0b01f97317d Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sun, 10 Jan 2021 03:19:34 +0100 Subject: [PATCH] Added Jenkinsfile --- Jenkinsfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d0a8278..4461b0d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,15 +1,11 @@ pipeline { agent any stages { - stage('Install build dependencies') { - steps { - sh 'pip install -U --upgrade pytest' - } - } - stage('Run pytest') { steps { - sh '/usr/local/bin/pytest-venv' + sh 'pip install --user -r requirements.txt' + sh 'pip install --user --upgrade pytest' + sh 'python -m pytest' } }