1
0
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:
Darren Shepherd
2020-03-26 13:29:18 -07:00
parent 438c299ece
commit 19b8e21bfa
2 changed files with 14 additions and 8 deletions

View File

@@ -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