File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 73
73
- name : Download and verify dependencies
74
74
run : make deps
75
75
76
- # - name: Setup tmate session
77
- # uses: mxschmitt/action-tmate@v3
78
-
79
76
- name : Run unit tests
80
77
run : make unit-test
81
78
Original file line number Diff line number Diff line change 43
43
go mod download
44
44
@echo " Verifying dependencies..."
45
45
go mod verify
46
- @echo " ✓ Dependencies ready!" e
46
+ @echo " ✓ Dependencies ready!"
47
47
48
48
# Run unit tests only (no sudo required)
49
49
.PHONY : unit-test
@@ -69,9 +69,8 @@ e2e-test:
69
69
.PHONY : test-coverage
70
70
test-coverage :
71
71
@echo " Running tests with coverage..."
72
- @which go > /dev/null || (echo " Go not found in PATH" && exit 1)
73
- sudo $(shell which go) test -v -race -coverprofile=coverage.out ./...
74
- $(shell which go) tool cover -html=coverage.out -o coverage.html
72
+ go test -v -race -coverprofile=coverage.out ./...
73
+ go tool cover -html=coverage.out -o coverage.html
75
74
@echo " ✓ Coverage report generated: coverage.html"
76
75
77
76
# CI checks (deps, test, build)
You can’t perform that action at this time.
0 commit comments