File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments