[RM] Rename load_urdf
method to load_and_initialize_components
and add error handling there to avoid stack crashing when error happens.
#1198
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
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 }} | |
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/[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 |