fetch-subunit-output test: use ensure-pip
Call ensure-pip before installing the stest and subunit-output tools. Use then ensure-pip virtualenv to create their environment. Change-Id: I4c82867e29a8f3bdf902fac43b96cd6862fa9f48
This commit is contained in:
parent
c877323de3
commit
3fc3083456
@ -9,6 +9,9 @@
|
|||||||
directory: "/var/tmp/extratests"
|
directory: "/var/tmp/extratests"
|
||||||
test_pattern: "FailingTest.test_failure"
|
test_pattern: "FailingTest.test_failure"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Ensure pip
|
||||||
|
include_role:
|
||||||
|
name: ensure-pip
|
||||||
# Required packages; install them into a .tox path
|
# Required packages; install them into a .tox path
|
||||||
# to cover the find-*.sh scripts in the role a bit more.
|
# to cover the find-*.sh scripts in the role a bit more.
|
||||||
- name: Install stestr and subunit-output
|
- name: Install stestr and subunit-output
|
||||||
@ -17,6 +20,7 @@
|
|||||||
- stestr>=2.0.0,<2.6.0
|
- stestr>=2.0.0,<2.6.0
|
||||||
- python-subunit
|
- python-subunit
|
||||||
virtualenv: "{{ zuul_work_dir }}/.tox/utests/"
|
virtualenv: "{{ zuul_work_dir }}/.tox/utests/"
|
||||||
|
virtualenv_command: '{{ ensure_pip_virtualenv_command }}'
|
||||||
|
|
||||||
- name: Ensure that the test directories exists
|
- name: Ensure that the test directories exists
|
||||||
file:
|
file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user