Skip to content

Commit

Permalink
Update coverage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wiliansilvazup committed Aug 16, 2021
1 parent 19acc8f commit cbe9ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ sed -i '/docs.go/d' coverage.out
sed -i '/main.go/d' coverage.out
sed -i '/libs/d' coverage.out
sed -i '/cmd\/migration/d' coverage.out
sed -i '/test\/mocks/d' coverage.out

COVERAGE=$(go tool cover -func=coverage.out | grep total: | awk '{print $3}')
COVERAGE=${COVERAGE%\%}
Expand Down

0 comments on commit cbe9ec8

Please sign in to comment.