mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
ci: use cheaper codecov data collection (#7009)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user