forked from CoreSenseEU/coresense_instrumentation
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 956 Bytes
/
main.yaml
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
31
32
33
34
35
36
name: main
on:
push:
branches:
- '*'
jobs:
ROS2:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ROS 2 environment
uses: ros-tooling/[email protected]
with:
ros-distro: humble
- name: Build ROS 2 package
uses: ros-tooling/[email protected]
with:
package-name: coresense_instrumentation_driver coresense_instrumentation_interfaces
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/1ddb69bedfd1f04c2f000e95452f7c24a4d6176b/index.yaml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}