Merge "Skip test-setup.sh in pep8 jobs"

This commit is contained in:
Zuul 2019-07-25 15:57:39 +00:00 committed by Gerrit Code Review
commit a796a2cf48
2 changed files with 15 additions and 13 deletions

View File

@ -1,9 +1,11 @@
- name: "Check if project's tools/test-setup.sh exists"
- when: not test_setup_skip
block:
- name: "Check if project's tools/test-setup.sh exists"
stat:
path: "{{ zuul_work_dir }}/tools/test-setup.sh"
register: p
- name: Run tools/test-setup.sh
- name: Run tools/test-setup.sh
command: tools/test-setup.sh {{ test_setup_args }}
environment: "{{ test_setup_environment }}"
args:
@ -11,4 +13,3 @@
when:
- p.stat.exists
- p.stat.executable
- not test_setup_skip

View File

@ -147,6 +147,7 @@
Uses tox with the ``pep8`` environment.
vars:
tox_envlist: pep8
test_setup_skip: true
- job:
name: tox-cover