Skip to content

Commit 60a46ba

Browse files
authored
Configure gcovr to ignore negative hits as errors (UniversalRobots#284)
This seems to be an error in gcov and this occasionally makes our pipelines fail. As a consequence, we just re-run the job hoping that doesn't show up as it doesn't seem to be completely deterministic. Instead we could just ignore that particular error.
1 parent 62d34df commit 60a46ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: install gcovr
6161
run: sudo apt-get install -y gcovr
6262
- name: gcovr
63-
run: cd build && gcovr -r ..
63+
run: cd build && gcovr -r .. --gcov-ignore-parse-errors negative_hits.warn_once_per_file
6464
- name: Upload coverage to Codecov
6565
uses: codecov/codecov-action@v5
6666
with:

0 commit comments

Comments
 (0)