Skip to content

Coverage Build - Rolling #936

Coverage Build - Rolling

Coverage Build - Rolling #936

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