mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 05:31:25 +00:00
fail the build if we have any cppcheck warnings
This commit is contained in:
parent
a8dab94087
commit
3d718f45d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user