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 4d98297 commit 476253fCopy full SHA for 476253f
Makefile
@@ -33,7 +33,18 @@ format: tools # Format go code and error if any changes are made
33
@gci write --custom-order -s standard -s "prefix(github.com/harness/gitness)" -s default -s blank -s dot .
34
@echo "Formatting complete"
35
36
-.PHONY: help format tools
+###############################################################################
37
+#
38
+# Testing
39
40
41
+
42
+test: ## Run the go tests
43
+ @echo "Running tests"
44
+ @go test ./... -coverprofile=coverage.out
45
+ @go tool cover -html=coverage.out
46
47
+.PHONY: help format tools test
48
49
$(GOBIN)/gci:
50
go install github.com/daixiang0/[email protected]
0 commit comments