Use catkin_lint in CI step #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
container: | |
# avoid long installation times | |
image: ros:noetic-robot | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: noetic | |
- uses: ros-tooling/[email protected] | |
with: | |
package-name: lbrmed_bringup lbrmed_control lbrmed_description lbrmed_hw_fri lbrmed_moveit_config lbrmed_msgs | |
target-ros1-distro: noetic | |
vcs-repo-file-url: .rosinstall | |
id: ros_ci | |
- name: catkin lint | |
run: | | |
source ${{ steps.ros_ci.outputs.ros-workspace-directory-name }}/.devel/setup.bash | |
catkin_lint -W2 --pkg lbrmed_bringup —pkg lbrmed_control —pkg lbrmed_description —pkg lbrmed_hw_fri —pkg lbrmed_moveit_config —pkg lbrmed_msgs |