-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 942 Bytes
/
ros_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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