fix: refactor Makefile to fix checkmake maxbodylength violations (#95)

This commit is contained in:
Copilot
2025-11-11 22:32:21 +02:00
committed by GitHub
parent 3a122c3d0c
commit bec064d0b7
7 changed files with 104 additions and 82 deletions

11
scripts/test-coverage.sh Executable file
View 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"