Skip to content

Commit

Permalink
fix: Fix PKGS Variable Handling and Remove Duplicate set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
mdqst authored Dec 13, 2024
1 parent ae2196a commit 0b1d4ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/test_cover.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
set -e

PKGS=$(go list ./... | grep -v '/simapp')
PKGS=($(go list ./... | grep -v '/simapp'))

set -e
echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
go test -v -timeout 30m -coverprofile=profile.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg"
Expand Down

0 comments on commit 0b1d4ef

Please sign in to comment.