Skip to content

Commit bb69c11

Browse files
author
Anas Abou Allaban
authored
Add codecov to CI (ros-controls#69)
Signed-off-by: Anas Abou Allaban <allabana@amazon.com>
1 parent 55105d2 commit bb69c11

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
package-name: controller_interface controller_manager controller_parameter_server hardware_interface test_robot_hardware
2121
colcon-mixin-name: coverage-gcc
2222
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
23+
- uses: codecov/codecov-action@v1
24+
with:
25+
token: ${{ secrets.CODECOV_TOKEN }}
26+
file: ros_ws/lcov/total_coverage.info
27+
flags: unittests
28+
name: codecov-umbrella
29+
yml: ./codecov.yml
30+
fail_ci_if_error: true
2331
- uses: actions/upload-artifact@master
2432
with:
2533
name: colcon-logs-${{ matrix.os }}

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fixes:
2+
- "ros_ws/src/ros2_control/::"

0 commit comments

Comments
 (0)