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 7373 - name : Download and verify dependencies
7474 run : make deps
7575
76- # - name: Setup tmate session
77- # uses: mxschmitt/action-tmate@v3
78-
7976 - name : Run unit tests
8077 run : make unit-test
8178
Original file line number Diff line number Diff line change 4343 go mod download
4444 @echo " Verifying dependencies..."
4545 go mod verify
46- @echo " ✓ Dependencies ready!" e
46+ @echo " ✓ Dependencies ready!"
4747
4848# Run unit tests only (no sudo required)
4949.PHONY : unit-test
@@ -69,9 +69,8 @@ e2e-test:
6969.PHONY : test-coverage
7070test-coverage :
7171 @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
7574 @echo " ✓ Coverage report generated: coverage.html"
7675
7776# CI checks (deps, test, build)
You can’t perform that action at this time.
0 commit comments