From 5e6b676f6a5764a4954ea72e0fc7682b0739eecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Fri, 3 Nov 2023 21:13:00 +0100 Subject: [PATCH] [CI] codecov updates (#1147) * Fix coverage build and exclude test folders * Add codecov badge * Remove ignored package --------- Co-authored-by: Bence Magyar --- .github/workflows/ci-coverage-build.yml | 6 ------ README.md | 1 + codecov.yml | 4 ++-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-coverage-build.yml b/.github/workflows/ci-coverage-build.yml index 3dabed59cc..ca0068ad88 100644 --- a/.github/workflows/ci-coverage-build.yml +++ b/.github/workflows/ci-coverage-build.yml @@ -1,8 +1,6 @@ name: Coverage Build on: workflow_dispatch: - branches: - - master push: branches: - master @@ -31,11 +29,7 @@ jobs: package-name: controller_interface controller_manager - controller_manager_msgs hardware_interface - ros2controlcli - ros2_control - ros2_control_test_assets transmission_interface vcs-repo-file-url: | diff --git a/README.md b/README.md index b68c11705c..0231a1c0e7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ros2_control [![Licence](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) +[![codecov](https://codecov.io/gh/ros-controls/ros2_control/graph/badge.svg?token=idvm1zJXOf)](https://codecov.io/gh/ros-controls/ros2_control) This package is a part of the ros2_control framework. For more, please check the [documentation](https://control.ros.org/). diff --git a/codecov.yml b/codecov.yml index 0db154faa5..d8a5fde3e0 100644 --- a/codecov.yml +++ b/codecov.yml @@ -14,12 +14,12 @@ fixes: comment: layout: "diff, flags, files" behavior: default +ignore: + - "**/test" flags: unittests: paths: - controller_interface - controller_manager - hardware_interface - - joint_limits_interface - - test_robot_hardware - transmission_interface