CI: enforce docs-linkcheck 35/97535/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 20 Sep 2021 09:56:25 +0000 (11:56 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 20 Sep 2021 10:40:38 +0000 (12:40 +0200)
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I401510d9cf8a289f6e782b7911946b4c46301918

tox.ini

diff --git a/tox.ini b/tox.ini
index 24ebb2ccb4beb83390ddbef18cf7a714509a750e..9a683a0e135f32bb3a312b7b8091409d24304a6c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 1.6
-envlist = docs,jjb-version,pre-commit,prefix,robot
+envlist = docs,docs-linkcheck,jjb-version,pre-commit,prefix,robot
 skipsdist = true
 
 [testenv:docs]
@@ -11,7 +11,7 @@ commands = sphinx-build -W -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/d
 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 basepython = python3
 deps = -rdocs/requirements.txt
-commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:jenkins-jobs]
 deps =