Fix exit code

This commit is contained in:
badaix 2024-07-02 13:05:31 +02:00
parent fd9ffff486
commit 30a5ed7389

View file

@ -77,7 +77,7 @@ jobs:
WARNINGS=$(cat build/doxygen.log | sort | uniq | grep -e ": warning: " | wc -l)
MAX_ALLOWED=865
echo "Doxygen finished with $WARNINGS warnings, max allowed: $MAX_ALLOWED"
exit $($WARNINGS > $MAX_ALLOWED)
if [ "$WARNINGS" -gt "$MAX_ALLOWED" ]; then exit 1; else exit 0; fi;
unit-test: