fail the build if we have any cppcheck warnings

pull/1138/head
Mike Kinney 2022-01-24 21:35:24 +00:00
rodzic a8dab94087
commit 3d718f45d5
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -17,6 +17,4 @@ else
fi
#echo "BOARDS:${BOARDS}"
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" $BOARDS --skip-packages --pattern="src/"
#return_code=$?
# TODO: not sure why return_code is 0
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" $BOARDS --skip-packages --pattern="src/" --fail-on-defect=low --fail-on-defect=medium --fail-on-defect=high