Skip to content

Commit

Permalink
chore: fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Jan 15, 2024
1 parent d1b5c45 commit 860be16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test_cover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ PKGS=$(go list ./...)

set -e
echo "mode: atomic" > coverage.txt
for pkg in "${PKGS[@]}"; do
# shellcheck disable=SC2068
for pkg in ${PKGS[@]}; do
go test -v -timeout 30m -race -test.short -coverprofile=profile.out -covermode=atomic "$pkg"
if [ -f profile.out ]; then
tail -n +2 profile.out >> coverage.txt;
Expand Down

0 comments on commit 860be16

Please sign in to comment.