Skip to content

Commit 5b86bb2

Browse files
committed
Run docs test on azure pipelines
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent eb6c708 commit 5b86bb2

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ docs:
154154
rm -rf docs/_build/
155155
@${ACTIVATE} sphinx-build docs/source docs/_build/
156156

157+
check_docs:
158+
@${ACTIVATE} sphinx-build -E -W docs/source build
159+
@${ACTIVATE} docs/scripts/doc8_style_check.sh
160+
157161
docker-images:
158162
@echo "-> Build Docker services"
159163
docker-compose build

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ jobs:
3131
image_name: ubuntu-22.04
3232
python_versions: ['3.10', '3.11', '3.12']
3333
test_suites:
34+
docs: make check_docs
3435
all: make test

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CUSTOM_PACKAGES=""
3131

3232
# Requirement arguments passed to pip and used by default or with --dev.
3333
REQUIREMENTS="$CUSTOM_PACKAGES --editable purldb-toolkit/ --editable purl2vcs/ --editable . --constraint requirements.txt"
34-
DEV_REQUIREMENTS="$CUSTOM_PACKAGES --editable purldb-toolkit/[testing] --editable .[testing] --editable purl2vcs/[testing] --constraint requirements.txt --constraint requirements-dev.txt"
34+
DEV_REQUIREMENTS="$CUSTOM_PACKAGES --editable purldb-toolkit/[testing] --editable .[testing,docs] --editable purl2vcs/[testing] --constraint requirements.txt --constraint requirements-dev.txt"
3535
DOCS_REQUIREMENTS="$CUSTOM_PACKAGES --editable purldb-toolkit/ --editable .[docs] --constraint requirements.txt"
3636

3737
# where we create a virtualenv

0 commit comments

Comments
 (0)