mirror of
https://github.com/docker/cli.git
synced 2025-08-31 23:02:07 +03:00
Add scripts folder to shellcheck
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
@@ -3,14 +3,14 @@ set -eu -o pipefail
|
||||
|
||||
# install test dependencies once before running tests for each package. This
|
||||
# reduces the runtime from 200s down to 23s
|
||||
go test -i $@
|
||||
go test -i "$@"
|
||||
|
||||
for pkg in $@; do
|
||||
for pkg in "$@"; do
|
||||
./scripts/test/unit \
|
||||
-cover \
|
||||
-coverprofile=profile.out \
|
||||
-covermode=atomic \
|
||||
${pkg}
|
||||
"${pkg}"
|
||||
|
||||
if test -f profile.out; then
|
||||
cat profile.out >> coverage.txt
|
||||
|
Reference in New Issue
Block a user