feat: comprehensive test suite (Phase 4.2) (#12)
CI / test (push) Failing after 1m30s

This commit was merged in pull request #12.
This commit is contained in:
2026-06-07 17:54:15 +00:00
parent fe1afe2a97
commit e6e07941a5
11 changed files with 2590 additions and 2 deletions
+8
View File
@@ -23,5 +23,13 @@ jobs:
- name: Test
run: go test -v -race -coverprofile=coverage.out ./...
- name: Coverage report
run: go tool cover -func=coverage.out
- name: Check internal package coverage
run: |
COVERAGE=$(go tool cover -func=coverage.out | grep "^github.com/hits/ExploreDNS/internal" | awk '{print $3}' | sed 's/%//' | awk '{sum+=$1; count++} END {if(count>0) print sum/count; else print 0}')
echo "Average internal package coverage: ${COVERAGE}%"
- name: Build
run: go build -v ./...