diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-08-13 10:10:50 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-08-15 10:20:31 +0000 |
commit | 660e18c08e0aef112d8bfa0dd6607ba307687c1e (patch) | |
tree | 820842e3233238b1b868ebb592e8685ae17b5b59 /tox.ini | |
parent | e6dd772435e4736170aaa43a779840196e714254 (diff) |
TOX: DOC verify
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ifa4de8e60742f5c4cf4c2f377692313e23f9983b
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -25,7 +25,9 @@ # will execute only checks defined in "pylint" tox environment. [tox] -envlist = new_line_length, line_length, autogen, pylint, tc_naming, tc_coverage +envlist = new_line_length, line_length, autogen, pylint, tc_naming, tc_coverage, + doc_verify + # The following is needed as tox requires setup.py by default. skipsdist = true # Just a shorthand to avoid long lines. @@ -72,6 +74,11 @@ whitelist_externals = /bin/bash # Coverage is not needed to be voting. commands = bash -c "bash {[tox]checker_dir}/tc_coverage.sh || true" +[testenv:doc_verify] +# Fix all documentaion error before enabling voting. +whitelist_externals = /bin/bash +commands = bash -c "bash {[tox]checker_dir}/doc_verify.sh || true" + # TODO: Migrate current docs check here. # TODO: Create voting "pylint violations should not increase" checker. # TODO: Create voting checker to reject suites with Force Tags of other suite. |