mirror of
https://github.com/rancher/types.git
synced 2025-09-02 13:45:51 +00:00
committed by
Arvind Iyengar
parent
a4f6ba0aa0
commit
cb44b3ff40
@@ -7,8 +7,7 @@ echo Running tests
|
||||
|
||||
PACKAGES=". $(find -name '*.go' | xargs -I{} dirname {} | cut -f2 -d/ | sort -u | grep -Ev '(^\.$|.git|.trash-cache|vendor|bin)' | sed -e 's!^!./!' -e 's!$!/...!')"
|
||||
|
||||
[ "${ARCH}" == "amd64" ] && RACE=-race
|
||||
go test ${RACE} -cover -tags=test ${PACKAGES}
|
||||
go test -cover -tags=test ${PACKAGES}
|
||||
|
||||
go generate
|
||||
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||||
|
Reference in New Issue
Block a user