Skip to content

Commit aafab75

Browse files
committed
Add a step to doc-build-pdf to check for missing character errors
1 parent 4cdd703 commit aafab75

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
expected_num_errors=1
3+
4+
cd builddir/src/doc/latex
5+
echo "All missing character error messages in LaTeX log files:"
6+
num_errors=$(grep -r "Missing character" --include "*.log" | tee /dev/stderr | wc -l)
7+
echo "In total there are $num_errors missing character errors, expecting $expected_num_errors"
8+
[ $num_errors = $expected_num_errors ]

.github/workflows/doc-build-pdf.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ jobs:
8080
env:
8181
SAGE_DOCBUILD_OPTS: "--include-tests-blocks"
8282

83+
- name: Check for missing character error messages
84+
run: sh .github/workflows/check-latex-build.sh
85+
8386
- name: Copy doc
8487
id: copy
8588
run: |

0 commit comments

Comments
 (0)