Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/check-latex-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
expected_num_errors=36

cd builddir/src/doc/latex
echo "All missing character error messages in LaTeX log files:"
num_errors=$(grep -r "Missing character" --include "*.log" | tee /dev/stderr | wc -l)
echo "In total there are $num_errors missing character errors, expecting $expected_num_errors"
[ $num_errors = $expected_num_errors ] || echo "::error title=Missing character errors introduced in PDF build::In total there are $num_errors missing character errors, expecting $expected_num_errors"
[ $num_errors = $expected_num_errors ]
3 changes: 3 additions & 0 deletions .github/workflows/doc-build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
env:
SAGE_DOCBUILD_OPTS: "--include-tests-blocks"

- name: Check for missing character error messages
run: sh .github/workflows/check-latex-build.sh

- name: Copy doc
id: copy
run: |
Expand Down
Loading