disable colcon-lint #12
Workflow file for this run
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: colcon-lint | |
# on: [push, pull_request] | |
# jobs: | |
# colcon-lint: | |
# runs-on: ubuntu-latest | |
# container: osrf/ros:humble-desktop-jammy #faster than using setup-ros | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# submodules: 'recursive' | |
# # - uses: ros-tooling/setup-ros@master | |
# # with: | |
# # required-ros-distributions: 'humble' | |
# - shell: bash | |
# run: | | |
# sudo apt update | |
# sudo apt install apt-rdepends python3-pip -y | |
# pip install colcon-lint | |
# - name: colcon lint | |
# shell: bash | |
# run: | | |
# . /opt/ros/humble/setup.bash | |
# rosdep update | |
# rosdep install --from-paths ./ --ignore-src -y --rosdistro=humble -r | |
# colcon build --continue-on-error --cmake-args -Wno-dev --trace-expand --trace-redirect=trace.log || true | |
# . ./install/setup.bash | |
# # for every folder in the workspace starting with mirte_ excluding mirte_teleop, run command | |
# ERROR=false | |
# for d in mirte_*; do | |
# if [ "$d" != "mirte_teleop" ]; then | |
# colcon lint --packages-select $d || ERROR=true | |
# fi | |
# done | |
# # if $error, set exit state | |
# if $ERROR; then | |
# exit 1 | |
# fi |