* remove fixtures * setup tests * update x/mint * cli: update x/staking commands * tests: convert x/staking CLI tests * tests: fix x/auth CLI tests * cli updates * fix buiild * fix build * Update x/gov/client/cli/cli_test.go Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com> * remove GenerateOrBroadcastTx * move TestCLIQueryConn Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
15 lines
371 B
Bash
15 lines
371 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
PKGS=$(go list ./... | grep -v '/simapp')
|
|
|
|
set -e
|
|
echo "mode: atomic" > coverage.txt
|
|
for pkg in ${PKGS[@]}; do
|
|
go test -v -timeout 30m -race -coverprofile=profile.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg"
|
|
if [ -f profile.out ]; then
|
|
tail -n +2 profile.out >> coverage.txt;
|
|
rm profile.out
|
|
fi
|
|
done
|