From 57583a98bc416ca3b6c533257c9b201e738ee6bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=B7=E4=BA=AE?= <739476267@qq.com> Date: Thu, 30 May 2024 21:05:35 +0800 Subject: [PATCH] .github/workflows: remove code coverage report for folder `example` (#3608) --- .github/workflows/ci-main.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-main.sh b/.github/workflows/ci-main.sh index 7fdcf9a96da..0140696af96 100644 --- a/.github/workflows/ci-main.sh +++ b/.github/workflows/ci-main.sh @@ -52,6 +52,12 @@ for file in `find . -name go.mod`; do echo "ignore example as go version: $(go version)" continue 1 fi + echo "the example directory only needs to be built, not unit tests and coverage tests." + cd $dirpath + go mod tidy + go build ./... + cd - + continue 1 fi # package otlpgrpc needs golang >= v1.20