Skip to content

Commit c718966

Browse files
committed
Build mkdoc in tests to confirm it is working ok
1 parent ea797c4 commit c718966

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/Tests.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,33 @@ jobs:
118118
- name: Ensure we can build JS package
119119
run: yarn pack
120120
working-directory: javascript
121+
122+
build-docs: # validate that doc can be built
123+
runs-on: ubuntu-24.04
124+
needs: generate-rules
125+
126+
steps:
127+
- name: Checkout repo
128+
uses: actions/checkout@v4
129+
130+
- name: Set up Python
131+
uses: actions/setup-python@v5
132+
with:
133+
python-version-file: pyproject.toml
134+
architecture: x64
135+
136+
- name: Install dependencies (and project)
137+
run: |
138+
pip install -U pip
139+
pip install -e .[docs]
140+
141+
- name:
142+
run: hatch run docs:build
143+
144+
- name: Save doc artifact
145+
uses: actions/upload-artifact@v4
146+
with:
147+
path: |
148+
site/
149+
name: doc
150+
retention-days: 1

0 commit comments

Comments
 (0)