Skip to content

[pre-commit.ci] pre-commit autoupdate #66

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #66

name: Coverage Build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
coverage:
name: coverage build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
env:
ROS_DISTRO: rolling
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ env.ROS_DISTRO }}
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ env.ROS_DISTRO }}
# build all packages listed in the meta package
package-name:
odri_bolt_description
odri_bolt_bringup
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/[email protected]
with:
name: colcon-logs-ubuntu-22.04-coverage-rolling
path: ros_ws/log