summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-05-07 16:08:18 -0600
committerHeinrich Schuchardt <[email protected]>2025-05-11 12:52:56 +0200
commita865d1d25410af97376fd3c822bac560b99fd84b (patch)
tree2345341763377c92b2340cc77919ece665616dd7 /.azure-pipelines.yml
parentbe2bdfd0199f37fed0ce19f90840f79d185e20d1 (diff)
doc: pytest: Framework for documenting tests and document test_000_version
In order to easily document pytests, we need to include the autodoc extension. We also need to make sure that for building the docs, CI includes pytest and that we have PYTHONPATH configured such that it will find all of the tests and related files. Finally, we need to have our comments in the test file by in proper pydoc format in order to be included in the output. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 5e1938b0526..9c136513bb9 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -92,7 +92,7 @@ stages:
set -e
python3 -m venv /tmp/venvhtml
. /tmp/venvhtml/bin/activate
- pip install -r doc/sphinx/requirements.txt
+ pip install -r doc/sphinx/requirements.txt pytest
make htmldocs KDOC_WERROR=1
make infodocs