We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63129d3 commit d55ebe7Copy full SHA for d55ebe7
.github/workflows/ci.yaml
@@ -42,7 +42,7 @@ jobs:
42
env:
43
GOMAXPROCS: 4
44
GOMEMLIMIT: 8192MiB
45
- run: make test
+ run: make go-test
46
47
- name: Send coverage
48
uses: coverallsapp/github-action@v2
Makefile
@@ -74,7 +74,14 @@ crd: controller-gen-install
74
#? test: The verify target runs tasks similar to the CI tasks, but without code coverage
75
.PHONY: test
76
test:
77
+ go test -race ./...
78
+
79
80
+.PHONY: test
81
+go-test:
82
go test -race -coverprofile=profile.cov ./...
83
+ go tool cover -func=profile.cov > coverage.summary
84
+ @tail -n 1 coverage.summary
85
86
#? build: The build targets allow to build the binary and container image
87
.PHONY: build
0 commit comments