Skip to content

Commit 069cda6

Browse files
authored
ci(test): Add build-doc job to tests.yml (#309)
1 parent 2eaddf3 commit 069cda6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,24 @@ jobs:
2929
uses: codecov/codecov-action@v4
3030
with:
3131
token: ${{ secrets.CODECOV_TOKEN }}
32+
33+
build-doc:
34+
name: Build doc
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: write
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@v4
41+
42+
- name: Setup PDM
43+
uses: pdm-project/setup-pdm@v4
44+
with:
45+
python-version: '3.13'
46+
47+
- name: Install dependencies (default & doc)
48+
run: pdm install --group doc --frozen-lockfile
49+
50+
- name: Build Documentation
51+
working-directory: docs
52+
run: pdm run make dirhtml

0 commit comments

Comments
 (0)