[CI] Improvements and Cleanups #92
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: Debian Rolling Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- master | |
schedule: | |
# Run every day to detect flakiness and broken dependencies | |
- cron: '03 1 * * *' | |
jobs: | |
rolling_debian: | |
name: Rolling debian build | |
runs-on: ubuntu-latest | |
env: | |
ROS_DISTRO: rolling | |
skip-packages: rqt_controller_manager | |
container: ghcr.io/ros-controls/ros:rolling-debian | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: src/ros2_control | |
# default behavior is correct on master branch | |
# ref: ${{ github.event_name == 'schedule' && 'master' || '' }} | |
- name: Build workspace | |
shell: bash | |
run: | | |
source /opt/ros2_ws/install/setup.bash | |
vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos | |
colcon build --packages-up-to $(colcon list --paths src/ros2_control/* --names-only) --packages-skip ${{ env.skip-packages }} | |
- name: Test workspace | |
shell: bash | |
continue-on-error: true | |
run: | | |
source /opt/ros2_ws/install/setup.bash | |
colcon test --packages-select $(colcon list --paths src/ros2_control/* --names-only) --packages-skip ${{ env.skip-packages }} | |
colcon test-result --verbose |