Skip to content

Commit

Permalink
Add new_docs build test
Browse files Browse the repository at this point in the history
Adds basic testing for the new docs build, which uses pulp-docs to
aggregate all docs.

See https://github.com/pulp/pulp-docs

[noissue]
  • Loading branch information
pedro-psb committed Mar 21, 2024
1 parent 8700c1c commit 18576ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/+add-new-docs-test.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added basic testing to the new docs to check it can build.
6 changes: 6 additions & 0 deletions templates/github/.github/workflows/scripts/script.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ if [[ "$TEST" = "docs" ]]; then
exit
fi

if [[ "$TEST" = "new_docs" ]]; then
pip install --user git+https://github.com/pulp/pulp-docs
pulp-docs build
exit
fi

REPORTED_STATUS="$(pulp status)"

echo "machine pulp
Expand Down
1 change: 1 addition & 0 deletions templates/github/.github/workflows/test.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- TEST: pulp
{%- if docs_test %}
- TEST: docs
- TEST: new_docs
{%- endif %}
{%- if test_azure %}
- TEST: azure
Expand Down

0 comments on commit 18576ce

Please sign in to comment.