Skip to content

Bump codecov/codecov-action from 4.0.1 to 4.0.2 #1359

Bump codecov/codecov-action from 4.0.1 to 4.0.2

Bump codecov/codecov-action from 4.0.1 to 4.0.2 #1359

name: Coverage Build
on:
workflow_dispatch:
push:
branches:
- iron
pull_request:
branches:
- iron
jobs:
coverage:
name: coverage build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
env:
ROS_DISTRO: iron
steps:
- uses: ros-tooling/setup-ros@0.7.1
with:
required-ros-distributions: ${{ env.ROS_DISTRO }}
- uses: actions/checkout@v4
- uses: ros-tooling/action-ros-ci@0.3.6
with:
target-ros2-distro: ${{ env.ROS_DISTRO }}
import-token: ${{ secrets.GITHUB_TOKEN }}
# build all packages listed in the meta package
package-name:
controller_interface
controller_manager
hardware_interface
hardware_interface_testing
transmission_interface
vcs-repo-file-url: |
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/ros2_control-not-released.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }}
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- uses: codecov/codecov-action@v4.0.2
with:
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
- uses: actions/upload-artifact@v4.3.1
with:
name: colcon-logs-ubuntu-22.04-coverage-iron
path: ros_ws/log