CI: Decrease Sphinx tox profiles logs verbosity 25/67625/3
authorGuillaume Lambert <guillaume.lambert@orange.com>
Fri, 7 May 2021 14:14:56 +0000 (16:14 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 10 May 2021 15:50:53 +0000 (17:50 +0200)
Docs and docs-linkcheck tox profiles are using Sphinx that generates
very verbose logs by default.
Sphinx -q quiet option allow to display only errors and warnings.
Using this option will ease potential gate failures analysis.

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ib6b4096df9cb58fe7ad46b790a8455fb4808e26e

tox.ini

diff --git a/tox.ini b/tox.ini
index b5837b4..e5a5f6e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -19,12 +19,12 @@ commands = python {toxinidir}/check-best-practices.py
 basepython = python3
 deps = -rrequirements.txt
 commands =
-    sphinx-build -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    sphinx-build -q -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -rrequirements.txt
-commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+commands = sphinx-build -q -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:pre-commit]
 basepython = python3