summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yardstick/yardstick.yml')
-rw-r--r--jjb/yardstick/yardstick.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/yardstick/yardstick.yml b/jjb/yardstick/yardstick.yml
index 8f40d8750..7b6a4fbf7 100644
--- a/jjb/yardstick/yardstick.yml
+++ b/jjb/yardstick/yardstick.yml
@@ -134,7 +134,11 @@
- shell: |
echo "Running unit tests..."
cd $WORKSPACE
+ virtualenv $WORKSPACE/yardstick_venv
+ source $WORKSPACE/yardstick_venv/bin/activate
+ python setup.py develop > /dev/null 2>&1
./run_tests.sh
+ deactivate
- job-template:
name: 'yardstick-merge'
@@ -190,7 +194,11 @@
- shell: |
echo "Running unit tests..."
cd $WORKSPACE
+ virtualenv $WORKSPACE/yardstick_venv
+ source $WORKSPACE/yardstick_venv/bin/activate
+ python setup.py develop > /dev/null 2>&1
./run_tests.sh
+ deactivate
- job-template:
name: 'yardstick-{pod}'