ci: use cheaper codecov data collection (#7009)

This commit is contained in:
Sam Kleinman
2021-09-27 15:22:25 -04:00
committed by GitHub
parent b150ea6b3e
commit 6eaa3b24d6
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ set -e
echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
go test -timeout 5m -race -coverprofile=profile.out -covermode=atomic "$pkg"
go test -timeout 5m -race -coverprofile=profile.out "$pkg"
if [ -f profile.out ]; then
tail -n +2 profile.out >> coverage.txt;
rm profile.out