Skip to content

Commit

Permalink
Tools: Enforce pre-commit in build_ci.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 26, 2023
1 parent 4361197 commit e528033
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tools/scripts/build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,13 @@ for t in $CI_BUILD_TARGET; do
continue
fi

if [ "$t" == "pre-commit-cleanliness" ]; then
echo "Checking pre-commit code cleanliness"
pre-commit install
pre-commit run --all-files --verbose --show-diff-on-failure
continue
fi

if [ "$t" == "configure-all" ]; then
echo "Checking configure of all boards"
./Tools/scripts/configure_all.py
Expand Down

0 comments on commit e528033

Please sign in to comment.