File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-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 @@ -69,10 +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
75
- @echo " ✓ Coverage report generated: coverage.html"
72
+ go test -v -race -coverprofile=coverage.out ./...
73
+ go tool cover -html=coverage.out -o coverage.html
76
74
77
75
# CI checks (deps, test, build)
78
76
.PHONY : ci
You can’t perform that action at this time.
0 commit comments