This commit is contained in:
Ariel Rin
2022-06-18 13:28:15 +10:00
19 changed files with 624 additions and 123 deletions

10
tox.ini
View File

@@ -2,7 +2,7 @@
isolated_build = True
skipsdist = true
usedevelop = true
envlist = py{38,39,310,311}-{all,core}
envlist = py{38,39,310,311}-{all,core}, docs
[testenv]
setenv =
@@ -22,3 +22,11 @@ commands =
core: coverage run runtests.py allianceauth.authentication.tests.test_app_settings -v 2 --debug-mode
all: coverage report -m
all: coverage xml
[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.9
deps = -r{toxinidir}/docs/requirements.txt
install_command =
commands =
sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs}