From 253bf7b9d80257ee24f65abc3b6bcd890d9e974c Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 6 Jun 2020 10:21:06 -0400 Subject: [PATCH] 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 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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] -- 2.16.6