Skip to content

Commit

Permalink
Check for max allowed doxygen warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Jul 2, 2024
1 parent f640d42 commit 44a74e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
mkdir -p build/doxygen
doxygen 2>&1 | tee build/doxygen.log
WARNINGS=$(cat build/doxygen.log | sort | uniq | grep -e ": warning: " | wc -l)
echo "Doxygen finished with $WARNINGS warnings"
MAX_ALLOWED=865
echo "Doxygen finished with $WARNINGS warnings, max allowed: $MAX_ALLOWED"
exit $($WARNINGS > $MAX_ALLOWED)
unit-test:
Expand Down

0 comments on commit 44a74e3

Please sign in to comment.