1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #193 from dnephin/why-cover-so-slow

Speed up testing with coverage
This commit is contained in:
Aaron Lehmann
2017-06-14 11:29:42 -07:00
committed by GitHub

View File

@@ -1,6 +1,10 @@
#!/usr/bin/env bash
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 $@
for pkg in $@; do
./scripts/test/unit \
-cover \