mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
11 lines
272 B
Plaintext
11 lines
272 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
cd $(dirname $0)/..
|
||
|
|
|
||
|
|
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!$!/...!')"
|
||
|
|
|
||
|
|
go test -race -cover -tags=test ${PACKAGES}
|