1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 14:36:47 +00:00

remove all cmd source files from coverage, make shanker happy

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
这个提交包含在:
Shengqi Chen
2025-01-12 15:55:20 +08:00
父节点 559f5705f6
当前提交 ab8d1c2120

查看文件

@@ -230,7 +230,9 @@ jobs:
"${HOME}/go/bin/gocovmerge" profile.cov profile2.gcov \ "${HOME}/go/bin/gocovmerge" profile.cov profile2.gcov \
"umlrootfs/home/${CUSER}/profile3.gcov" \ "umlrootfs/home/${CUSER}/profile3.gcov" \
"umlrootfs/home/${CUSER}/profile4.gcov" \ "umlrootfs/home/${CUSER}/profile4.gcov" \
profile5_*.gcov > profile-all.gcov profile5_*.gcov > merged.gcov
# remove cmdline tools from coverage statistics
grep -v "cmd/.*\.go" merged.gcov > profile-all.gcov
- name: Convert coverage to lcov - name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1 uses: jandelgado/gcov2lcov-action@v1