Ensure that doc linting is included in the linters test

The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: I2794185c0fce4c5fb027cb63d20850c72c4a91a4
This commit is contained in:
Jesse Pretorius 2016-07-25 13:58:25 +01:00
parent 2af529afa4
commit db40d5997b
3 changed files with 3 additions and 1 deletions

View File

@ -25,3 +25,4 @@ Example Playbook
user: root user: root
roles: roles:
- { role: "memcached_server" } - { role: "memcached_server" }

View File

@ -1 +1 @@
.. include:: ../../README.rst .. include:: ../../README.rst

View File

@ -180,3 +180,4 @@ commands =
{[testenv:bashate]commands} {[testenv:bashate]commands}
{[testenv:ansible-lint]commands} {[testenv:ansible-lint]commands}
{[testenv:ansible-syntax]commands} {[testenv:ansible-syntax]commands}
{[testenv:docs]commands}