Skip to content

Commit f1e510e

Browse files
committed
add a docs test
1 parent aa02de0 commit f1e510e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/docs-test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Doc test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
doc-test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v6
20+
with:
21+
python-version: "3.14"
22+
cache: "pip"
23+
24+
- name: Install Python dependencies
25+
run: |
26+
sudo apt-get install python3-pip graphviz
27+
pip install -r requirements.txt
28+
pip install ghp-import
29+
PATH="${PATH}:${HOME}/.local/bin"
30+
31+
- name: Build book HTML
32+
run: |
33+
./build_and_process.sh

0 commit comments

Comments
 (0)