Skip to content

Commit 69a0f78

Browse files
dependabot[bot]mergify[bot]
authored andcommitted
Bump actions/upload-artifact from 4 to 5 (#1552)
(cherry picked from commit 29842df) # Conflicts: # .github/workflows/coverage-build.yml
1 parent 963eb80 commit 69a0f78

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Coverage Build
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
coverage:
9+
name: coverage build
10+
runs-on: ubuntu-22.04
11+
container:
12+
image: ubuntu:noble
13+
strategy:
14+
fail-fast: false
15+
env:
16+
ROS_DISTRO: rolling
17+
ros_version: 2
18+
steps:
19+
- uses: ros-tooling/[email protected]
20+
with:
21+
required-ros-distributions: ${{ env.ROS_DISTRO }}
22+
use-ros2-testing: true
23+
- uses: actions/checkout@v5
24+
- uses: ros-tooling/[email protected]
25+
with:
26+
target-ros2-distro: ${{ env.ROS_DISTRO }}
27+
# build all packages listed in the meta package
28+
package-name:
29+
ur_calibration
30+
ur_controllers
31+
ur_robot_driver
32+
colcon-defaults: |
33+
{
34+
"build": {
35+
"mixin": ["coverage-gcc", "coverage-pytest"]
36+
},
37+
"test": {
38+
"mixin": ["coverage-pytest"]
39+
}
40+
}
41+
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
42+
skip-tests: false
43+
- uses: codecov/codecov-action@v5
44+
with:
45+
fail_ci_if_error: true
46+
file: ros_ws/lcov/total_coverage.info
47+
flags: unittests
48+
name: codecov-umbrella
49+
token: ${{ secrets.CODECOV_TOKEN }}
50+
- uses: actions/upload-artifact@v5
51+
with:
52+
name: colcon-logs-${{ matrix.os }}
53+
path: ros_ws/log

0 commit comments

Comments
 (0)