Fail the documentation build if there are any Doxygen warnings

Check for Doxygen warnings, that are, for the most part, actually
errors, to ensure that they don't creep back in after they were recently
fixed.
This commit is contained in:
Vadim Zeitlin 2022-03-28 10:56:32 +02:00
parent fe944dec68
commit 4179d13dab

View File

@ -30,6 +30,13 @@ jobs:
working-directory: docs/doxygen
run: |
./regen.sh php
if [[ -s doxygen.log ]]; then
echo '*** There were warnings during docs generation: ***'
echo '-----------------------------------------------------------'
cat doxygen.log
echo '-----------------------------------------------------------'
exit 1
fi
- name: Upload
if: github.ref == 'refs/heads/master'