Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Oct 30, 2023
1 parent d0fc12a commit fa3c9ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/<repo-name>'
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

0 comments on commit fa3c9ac

Please sign in to comment.