jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/856176 )

Change subject: [tests] Add rstcheck and sphinx checks
......................................................................

[tests] Add rstcheck and sphinx checks

- pywikibot-core-tox-rstcheck-docker is for rstcheck run
- pywikibot-core-tox-sphinx-docker for sphinx check with small
  themes like "basic" or "nature" which runs within 5 minutes
- pywikibot-core-tox-doc-docker is for "furo" sphinx theme later
  and for pywikibot-core-tox-publish CI run
- use multiple processes to build distribution

Bug: T322979
Change-Id: Ifbcd9716d68dfd6206fd75aebff5163d4bd2d9b3
---
M tox.ini
1 file changed, 32 insertions(+), 0 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/tox.ini b/tox.ini
index dbed3d0..69ebd75 100644
--- a/tox.ini
+++ b/tox.ini
@@ -88,12 +88,27 @@
 basepython = python3.7
 commands =
     sphinx-build -M html ./docs ./docs/_build -j auto
+deps =
+    -rrequirements.txt
+    -rdocs/requirements.txt
+
+[testenv:rstcheck]
+basepython = python3.7
+commands =
     rstcheck --version
     rstcheck -r --report-level WARNING --ignore-roles api,phab .
 deps =
     -rrequirements.txt
     -rdocs/requirements.txt

+[testenv:sphinx]
+basepython = python3.7
+commands =
+    sphinx-build -M html ./docs ./docs/_build -j auto -D html_theme=nature
+deps =
+    -rrequirements.txt
+    -rdocs/requirements.txt
+
 [flake8]
 # The following are intentionally ignored, possibly pending consensus
 # D105: Missing docstring in magic method

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/856176
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ifbcd9716d68dfd6206fd75aebff5163d4bd2d9b3
Gerrit-Change-Number: 856176
Gerrit-PatchSet: 7
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: KBach <kb...@wikimedia.org>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to