Skip to content

Commit 41d4ebc

Browse files
committed
Add PDF build test to documentation workflow
- Install LaTeX dependencies in CI - Run make latexpdf after HTML build - Verify PDF generation works in automated tests
1 parent 26f110c commit 41d4ebc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,19 @@ jobs:
5555
run: |
5656
python -m pip install --upgrade pip
5757
pip install --no-cache-dir .\[all\]
58-
- name: Build Sphinx Documentation
58+
- name: Build Sphinx Documentation (HTML)
5959
working-directory: ./docs/source
6060
run: |
6161
mkdir -p _build/doctrees
6262
sphinx-build -T -W --keep-going -b html -d _build/doctrees -D language=en . _build/html
63+
- name: Install LaTeX dependencies
64+
run: |
65+
sudo apt-get update -qq -y
66+
sudo apt-get install -qq -y texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk
67+
- name: Build Sphinx Documentation (PDF)
68+
working-directory: ./docs
69+
run: |
70+
make latexpdf
6371
6472
requirements-formatting:
6573
name: Check Requirements Formatting

0 commit comments

Comments
 (0)