]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
github: Ignore unused data errors in lcov
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 13 Jan 2025 17:31:41 +0000 (10:31 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 13 Jan 2025 17:41:23 +0000 (10:41 -0700)
commitc8bd97fb6e170990d484f37a8d79e82098509e5c
tree1cc49299370e90386815c16695715091b38b4675
parent034172e8e5865b7c1b8f07d810dd53dd4e3c55f7
github: Ignore unused data errors in lcov

The "Unit Tests" job was throwing the following lcov error:

Summary coverage rate:
  lines......: 20.5% (1073 of 5227 lines)
  functions..: 29.0% (73 of 252 functions)
  branches...: no data found
(use "lcov --ignore-errors unused ..." to bypass this error)

Add "--ignore errors unused" to the lcov command to work around this.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/actions/code-coverage/action.yml