Fix infraworkload forwarder
[multicloud/framework.git] / multivimbroker / tox.ini
index cda89e4..1e54370 100644 (file)
@@ -26,3 +26,13 @@ commands =
   coverage erase
   {[testenv]commands}
   coverage xml -i
+
+[testenv:rstcheck]
+deps = rstcheck
+whitelist_externals = bash
+commands = bash -c "find ../docs -not -path {toxinidir}/.tox/\* \
+   -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
+
+[testenv:docs]
+deps = sphinx
+commands = sphinx-build -b html ../docs/ ../docs/html