77 pull_request :
88 branches :
99 - main
10- - work/dereklin/workflows
1110 workflow_dispatch :
1211
1312jobs :
2524 - name : Generate Docker Environment
2625 id : docker-environment
2726 run : |
28- # Create static matrix for F1TENTH services
2927 matrix='{
3028 "include": [
3129 {
@@ -92,44 +90,11 @@ jobs:
9290 COMPOSE_DOCKER_CLI_BUILD : 1
9391 BUILDKIT_INLINE_CACHE : 1
9492
95- ros-package-check :
96- name : ROS Package Check
97- runs-on : ubuntu-22.04
98-
99- steps :
100- - name : Checkout repository
101- uses : actions/checkout@v4
102-
103- - name : Setup ROS 2 Humble
104- uses : ros-tooling/setup-ros@v0.7
105- with :
106- required-ros-distributions : humble
107-
108- - name : Install rosdep dependencies
109- run : |
110- source /opt/ros/humble/setup.bash
111- cd src
112- sudo rosdep update
113- rosdep install --from-paths . --ignore-src -r -y
114-
115- - name : Build ROS packages
116- run : |
117- source /opt/ros/humble/setup.bash
118- cd src
119- colcon build --packages-select action bringup_robot gym_vis sample_msgs foxglove_msgs
120-
121- - name : Test ROS packages
122- run : |
123- source /opt/ros/humble/setup.bash
124- cd src
125- colcon test --packages-select action bringup_robot gym_vis sample_msgs foxglove_msgs
126- colcon test-result --verbose
127-
12893 confirm-build-and-unittest-complete :
12994 name : Confirm Build and Unit Tests Completed
130- needs : [ build-and-unittest, ros-package-check]
95+ needs : build-and-unittest
13196 runs-on : ubuntu-latest
13297 steps :
13398 - name : Ending
13499 run : |
135- echo "::notice:: all builds and unit tests completed."
100+ echo "::notice:: all builds and unit tests completed."
0 commit comments