fail the build if we have any cppcheck warnings
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user