File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,18 @@ build-all:
3636@echo " Binaries are in the '$( BUILD_DIR) ' directory:"
3737@ls -la $(BUILD_DIR ) /
3838
39- # Run tests
39+ # Run tests (needs sudo for E2E tests)
4040.PHONY : test
4141test :
4242@echo " Running tests..."
43- go test -v -race ./...
43+ sudo go test -v -race ./...
4444@echo " ✓ All tests passed!"
4545
46- # Run tests with coverage
46+ # Run tests with coverage (needs sudo for E2E tests)
4747.PHONY : test-coverage
4848test-coverage :
4949@echo " Running tests with coverage..."
50- go test -v -race -coverprofile=coverage.out ./...
50+ sudo go test -v -race -coverprofile=coverage.out ./...
5151go tool cover -html=coverage.out -o coverage.html
5252@echo " ✓ Coverage report generated: coverage.html"
5353
Original file line number Diff line number Diff line change @@ -66,4 +66,3 @@ func TestCurlGithub(t *testing.T) {
6666t .Fatalf ("error curling github: %v" , err )
6767}
6868}
69-
You can’t perform that action at this time.
0 commit comments