Merge "Install Pygments before checking README syntax for publish jobs"

This commit is contained in:
Zuul 2018-10-16 18:18:31 +00:00 committed by Gerrit Code Review
commit 0cb1131709
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@
virtualenv: "{{ check_python_release_virtualenv }}"
virtualenv_python: "{{ release_python }}"
chdir: "{{ zuul_work_dir }}"
# Pygments needs to be installed to allow the metadata and README
# check parse project READMEs that have code blocks in the
# README.rst file.
pip:
name: Pygments
virtualenv: "{{ check_python_release_virtualenv }}"
virtualenv_python: "{{ release_python }}"
chdir: "{{ zuul_work_dir }}"
- name: Check the package metadata and README format
command: "{{ check_python_release_virtualenv }}/bin/{{ release_python }} setup.py check --restructuredtext --strict"