Skip to content

Commit 6487249

Browse files
authored
CI: Silent lcov errors (#3115)
1 parent d529029 commit 6487249

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
env:
2020
- IMAGE: rolling-ci
21-
CCOV: false # Disabled: https://github.com/moveit/moveit2/issues/2866
21+
CCOV: true
2222
ROS_DISTRO: rolling
2323
- IMAGE: rolling-ci
2424
ROS_DISTRO: rolling
@@ -165,6 +165,7 @@ jobs:
165165
with:
166166
docker: $DOCKER_IMAGE
167167
workdir: ${{ env.BASEDIR }}/target_ws
168+
lcov_capture_args: --ignore-errors=gcov,gcov,mismatch,mismatch,negative,negative
168169
ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"'
169170
- name: Upload codecov report
170171
uses: codecov/codecov-action@v5

.github/workflows/sonar.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
with:
104104
docker: $DOCKER_IMAGE
105105
workdir: ${{ env.BASEDIR }}/target_ws
106+
lcov_capture_args: --ignore-errors=gcov,gcov,mismatch,mismatch,negative,negative
106107
ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"'
107108
- name: Install ccache
108109
run: sudo apt install ccache build-essential

0 commit comments

Comments
 (0)