From ba2acf91c861e22eaca633abedb29ace930d2236 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Tue, 19 Nov 2024 10:05:46 +0100 Subject: [PATCH] CI: Silent lcov errors (#3115) * Turn lcov errors into warnings * Revert "Temporarily disable CCOV" This reverts commit 74738ee931f5ab71e86f93277ec784d8bb3d7b6a. * Silent more errors --- .github/workflows/ci.yaml | 3 ++- .github/workflows/sonar.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ac8d6b4f8..f8e5385c8d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: matrix: env: - IMAGE: rolling-ci - CCOV: false # Disabled: https://github.com/moveit/moveit2/issues/2866 + CCOV: true ROS_DISTRO: rolling - IMAGE: rolling-ci ROS_DISTRO: rolling @@ -165,6 +165,7 @@ jobs: with: docker: $DOCKER_IMAGE workdir: ${{ env.BASEDIR }}/target_ws + lcov_capture_args: --ignore-errors=gcov,gcov,mismatch,mismatch,negative,negative ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"' - name: Upload codecov report uses: codecov/codecov-action@v5 diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 513ba386cf..777ed2c33e 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -103,6 +103,7 @@ jobs: with: docker: $DOCKER_IMAGE workdir: ${{ env.BASEDIR }}/target_ws + lcov_capture_args: --ignore-errors=gcov,gcov,mismatch,mismatch,negative,negative ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"' - name: Install ccache run: sudo apt install ccache build-essential