mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
.github/workflows: remove code coverage report for folder example (#3608)
This commit is contained in:
6
.github/workflows/ci-main.sh
vendored
6
.github/workflows/ci-main.sh
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user