Skip to content

Commit

Permalink
chore: fix make test-unit output
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Howard <jonathan.w.howard@lmco.com>
  • Loading branch information
jhoward-lm committed Nov 12, 2024
1 parent bf51ce0 commit d2800a8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ test-unit: # Run unit tests
go test -failfast -coverprofile=coverage.out -covermode=atomic ./backends/ent 1> /dev/null
printf "${GREEN}DONE${RESET}\n\n"

printf "${CYAN}"
echo "+--------------------------------+"
echo "| COVERAGE REPORT |"
echo "+--------------------------------+"
printf "${RESET}\n"
printf "${CYAN}+--------------------------------+${RESET}\n"
printf "${CYAN}| COVERAGE REPORT |${RESET}\n"
printf "${CYAN}+--------------------------------+${RESET}\n\n"

go tool cover -func=coverage.out | \
awk '{ gsub(/^github.com\/protobom\/storage\/backends\/ent\//, "", $$1) } \
Expand Down

0 comments on commit d2800a8

Please sign in to comment.