mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 11:42:43 +00:00
remove all cmd source files from coverage, make shanker happy
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
559f5705f6
commit
ab8d1c2120
4
.github/workflows/tunasync.yml
vendored
4
.github/workflows/tunasync.yml
vendored
@ -230,7 +230,9 @@ jobs:
|
||||
"${HOME}/go/bin/gocovmerge" profile.cov profile2.gcov \
|
||||
"umlrootfs/home/${CUSER}/profile3.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
|
||||
uses: jandelgado/gcov2lcov-action@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user