From fa3c9acfe85313958accead8e2667b81378ca1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 30 Oct 2023 13:58:11 +0100 Subject: [PATCH] test --- .github/workflows/build_and_test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 74452c9..2467e58 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -52,10 +52,11 @@ jobs: sudo apt install --yes -qq clang-tidy - name: clang tidy run: | - PROJECT_ROOT_DIR="$(pwd)" ROS_WS_DIR="$(readlink -f ${{ steps.ros-build.outputs.ros-workspace-directory-name }})" cd "$ROS_WS_DIR" cd src - cd $(find -name px4_ros2|head -1) # the path looks like this: 'src/zlrido15uw/px4_ros2' + echo ${{ github.event.repository.name }} + ls * + cd $(find -name ${{ github.event.repository.name }}|head -1) # the path looks like this: 'src/zlrido15uw/' echo "Running clang-tidy on $PWD" - "$PROJECT_ROOT_DIR/scripts/run-clang-tidy-on-project.sh" "$ROS_WS_DIR"/build + ./scripts/run-clang-tidy-on-project.sh "$ROS_WS_DIR"/build