Skip to content

Bump actions/upload-artifact from 3.1.3 to 4.3.0 #25

Bump actions/upload-artifact from 3.1.3 to 4.3.0

Bump actions/upload-artifact from 3.1.3 to 4.3.0 #25

name: Coverage Build - Iron
on:
workflow_dispatch:
push:
branches:
- ros2-master
pull_request:
branches:
- ros2-master
jobs:
coverage:
name: coverage build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
env:
ROS_DISTRO: iron
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 }}
import-token: ${{ secrets.GITHUB_TOKEN }}
# build all packages listed here
package-name:
control_toolbox
vcs-repo-file-url: |
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/control_toolbox.${{ 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/[email protected]
with:
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/[email protected]
with:
name: colcon-logs-coverage-iron
path: ros_ws/log