mirror of
https://github.com/ivuorinen/gibidify.git
synced 2026-01-26 11:34:03 +00:00
fix: refactor Makefile to fix checkmake maxbodylength violations (#95)
This commit is contained in:
11
scripts/test-coverage.sh
Executable file
11
scripts/test-coverage.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
echo "Running tests with coverage..."
|
||||
go test -race -v -coverprofile=coverage.out -covermode=atomic ./...
|
||||
echo ""
|
||||
echo "Coverage summary:"
|
||||
go tool cover -func=coverage.out | grep total:
|
||||
echo ""
|
||||
echo "Full coverage report saved to: coverage.out"
|
||||
echo "To view HTML report, run: make coverage"
|
||||
Reference in New Issue
Block a user