mirror of
https://github.com/rancher/types.git
synced 2025-09-01 21:32:10 +00:00
Update to go 1.13
This commit is contained in:
@@ -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