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)