Run docs and docs-linkcheck in verify 30/64230/1
authorThanh Ha <zxiiro@gmail.com>
Sat, 6 Jun 2020 14:21:06 +0000 (10:21 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 6 Jun 2020 14:21:55 +0000 (10:21 -0400)
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 <zxiiro@gmail.com>
Change-Id: I7d28bdf8ace6946bcf1b6a2d08bc1408875fce96

tox.ini

diff --git a/tox.ini b/tox.ini
index 5f647f2..0030d03 100644 (file)
--- 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]