init codebase #1
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: Build and Test (humble) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup ROS 2 | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: humble | |
- name: Build rm_auto_aim | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: rm_auto_aim | |
target-ros2-distro: humble | |
skip-tests: true | |
- name: Test armor_detector | |
run: | | |
source /opt/ros/humble/setup.sh | |
cd ros_ws | |
colcon test --packages-select armor_detector --event-handlers console_cohesion+ --return-code-on-test-failure | |
- name: Test armor_tracker | |
run: | | |
source /opt/ros/humble/setup.sh | |
cd ros_ws | |
colcon test --packages-select armor_tracker --event-handlers console_cohesion+ --return-code-on-test-failure |