Skip to content

Commit a8e0b80

Browse files
Bump codecov/codecov-action from 3 to 5 (#922)
Co-authored-by: Felix Exner <[email protected]>
1 parent 0f80235 commit a8e0b80

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/coverage-build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,36 @@ jobs:
1919
- uses: ros-tooling/[email protected]
2020
with:
2121
required-ros-distributions: ${{ env.ROS_DISTRO }}
22+
use-ros2-testing: true
2223
- uses: actions/checkout@v4
2324
- uses: ros-tooling/[email protected]
2425
with:
2526
target-ros2-distro: ${{ env.ROS_DISTRO }}
2627
# build all packages listed in the meta package
2728
package-name:
28-
ur
29+
ur_calibration
2930
ur_controllers
30-
ur_dashboard_msgs
31-
ur_moveit_config
3231
ur_robot_driver
3332
vcs-repo-file-url: |
3433
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/Universal_Robots_ROS2_Driver-not-released.${{ env.ROS_DISTRO }}.repos
3534
colcon-defaults: |
3635
{
3736
"build": {
38-
"mixin": ["coverage-gcc"]
37+
"mixin": ["coverage-gcc", "coverage-pytest"]
38+
},
39+
"test": {
40+
"mixin": ["coverage-pytest"]
3941
}
4042
}
4143
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
42-
skip-tests: true
43-
- uses: codecov/codecov-action@v3
44+
skip-tests: false
45+
- uses: codecov/codecov-action@v5
4446
with:
47+
fail_ci_if_error: true
4548
file: ros_ws/lcov/total_coverage.info
4649
flags: unittests
4750
name: codecov-umbrella
51+
token: ${{ secrets.CODECOV_TOKEN }}
4852
- uses: actions/upload-artifact@v4
4953
with:
5054
name: colcon-logs-${{ matrix.os }}

0 commit comments

Comments
 (0)