Skip to content

Commit f6fd236

Browse files
committed
document need for sudo
1 parent 2df7606 commit f6fd236

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
4141
test:
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
4848
test-coverage:
4949
@echo "Running tests with coverage..."
50-
go test -v -race -coverprofile=coverage.out ./...
50+
sudo go test -v -race -coverprofile=coverage.out ./...
5151
go tool cover -html=coverage.out -o coverage.html
5252
@echo "✓ Coverage report generated: coverage.html"
5353

cli/cli_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,3 @@ func TestCurlGithub(t *testing.T) {
6666
t.Fatalf("error curling github: %v", err)
6767
}
6868
}
69-

0 commit comments

Comments
 (0)