From 3626be21eaae3ccd4a1686d1a34c9ec3d23b9d36 Mon Sep 17 00:00:00 2001 From: zhoucheng Date: Wed, 25 Dec 2024 23:33:31 +0800 Subject: [PATCH] wip --- .github/workflows/coverage-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index dd3b20d8f9d2..fe47fb25efd9 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -89,7 +89,7 @@ jobs: done coverdirs=${coverdirs%,} echo coverdirs is $coverdirs - [[ -z "$coverdirs" ]] && echo "no coverage dir found" && exit 1 + [[ -z "$coverdirs" ]] && echo "no coverage dir found" && exit 0 name=cover_${{matrix.test}} sudo go tool covdata percent -i=$coverdirs | sudo tee ${name}.percent echo "generated coverage percent report:" $(realpath ${name}.percent)