mirror of
https://github.com/kubernetes/client-go.git
synced 2025-10-25 18:10:18 +00:00
Automatic merge from submit-queue Use json-iterator instead of ugorji for JSON. @smarterclayton @wojtek-t Fixes #36120 xref #18762 ```release-note Switch JSON marshal/unmarshal to json-iterator library. Performance should be close to previous with no generated code. ``` Kubernetes-commit: 6a845c67f097cd76f9d90ab3c9c5b5603c70afe4
13 lines
247 B
Bash
Executable File
13 lines
247 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
echo "" > coverage.txt
|
|
|
|
for d in $(go list ./... | grep -v vendor); do
|
|
go test -coverprofile=profile.out $d
|
|
if [ -f profile.out ]; then
|
|
cat profile.out >> coverage.txt
|
|
rm profile.out
|
|
fi
|
|
done
|