-
Notifications
You must be signed in to change notification settings - Fork 99
41 lines (40 loc) · 1.19 KB
/
build-coverage.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
31
32
33
34
35
36
37
38
39
40
41
name: Build Source
on:
push:
branches:
- ros2-master
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '28 3 * * *'
jobs:
source:
name: source build
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
with:
target-ros2-distro: rolling
# build all packages listed in the meta package
package-name:
control_toolbox
vcs-repo-file-url: |
https://raw.githubusercontent.com/ros-controls/control_toolbox/ros2-master/control_toolbox.repos
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- uses: codecov/[email protected]
with:
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
- uses: actions/upload-artifact@v3
with:
name: colcon-logs-${{ matrix.os }}
path: ros_ws/log