From: Thanh Ha Date: Sat, 6 Jun 2020 14:21:06 +0000 (-0400) Subject: Run docs and docs-linkcheck in verify X-Git-Tag: v0.5.2~1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=253bf7b9d80257ee24f65abc3b6bcd890d9e974c;p=releng%2Fcommon-packer.git Run docs and docs-linkcheck in verify Not sure why we weren't running docs build tests as part of the common-packer verify build but this patch updates tox to enable those build tests. Signed-off-by: Thanh Ha Change-Id: I7d28bdf8ace6946bcf1b6a2d08bc1408875fce96 --- diff --git a/tox.ini b/tox.ini index 5f647f2..0030d03 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,8 @@ [tox] minversion = 1.6 envlist = + docs, + docs-linkcheck, pre-commit skipsdist = true @@ -14,7 +16,7 @@ whitelist_externals = echo [testenv:docs-linkcheck] basepython = python3 -deps = -rrequirements.txt +deps = -rdocs/requirements.txt commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck [testenv:pre-commit]