From 9e4bdf31b8d1e727f01f8e852d5eebbe9c1ce208 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 20 Oct 2024 11:21:30 +1100 Subject: [PATCH] Tools: add logger metadata generation to CI --- Tools/scripts/build_ci.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index 4d018d415a..19d2912158 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -56,7 +56,7 @@ function install_mavproxy() { popd mavproxy_installed=1 # now uninstall the version of pymavlink pulled in by MAVProxy deps: - python -m pip uninstall -y pymavlink + python3 -m pip uninstall -y pymavlink fi } @@ -512,7 +512,14 @@ for t in $CI_BUILD_TARGET; do if [ "$t" == "param_parse" ]; then for v in Rover AntennaTracker ArduCopter ArduPlane ArduSub Blimp AP_Periph; do - python Tools/autotest/param_metadata/param_parse.py --vehicle $v + python3 Tools/autotest/param_metadata/param_parse.py --vehicle $v + done + continue + fi + + if [ "$t" == "logger_metadata" ]; then + for v in Rover Tracker Copter Plane Sub Blimp; do + python3 Tools/autotest/logger_metadata/parse.py --vehicle $v done continue fi