Skip to content

Commit

Permalink
fix: coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Apr 20, 2023
1 parent 19f57f0 commit 3f8d83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
excludelist="$(find ./ -type f -name '*.go' | xargs grep -l 'DONTCOVER')"
excludelist+=" $(find ./ -type f -name '*.pb.go')"
for filename in ${excludelist}; do
filename=$(echo $filename | sed 's/^./github.com\/terra-money\/core/g')
filename=$(echo $filename | sed 's/^./github.com\/terra-money\/core\/v2/g')
echo "Excluding ${filename} from coverage report..."
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
Expand Down

0 comments on commit 3f8d83d

Please sign in to comment.