You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -35,16 +35,16 @@ update-readme:
35
35
36
36
update: update-readme
37
37
38
-
$(CODE_COVERAGE_REPORT_NAME_UNIT):
38
+
$(CODE_COVERAGE_REPORT_FOLDER):
39
39
mkdir -p $@
40
40
41
-
test-go: $(CODE_COVERAGE_REPORT_NAME_UNIT)
41
+
test-go: $(CODE_COVERAGE_REPORT_FOLDER)
42
42
# -count=1 is included to invalidate the test cache. This way, if you run "make test-go" multiple times
43
43
# you will get fresh test results each time. For instance, changing the source of mocked packages
44
44
# does not invalidate the cache so having the -count=1 to invalidate the test cache is useful.
45
45
go run gotest.tools/gotestsum --format standard-verbose -- -count 1 -coverprofile=$(CODE_COVERAGE_REPORT_NAME_UNIT).out ./...
46
46
47
-
test-go-ci: $(CODE_COVERAGE_REPORT_NAME_UNIT)
47
+
test-go-ci: $(CODE_COVERAGE_REPORT_FOLDER)
48
48
mkdir -p $(PWD)/build/test-results
49
49
mkdir -p $(PWD)/build/test-coverage
50
50
go run gotest.tools/gotestsum --junitfile "$(PWD)/build/test-results/TEST-unit.xml" -- -count=1 -coverprofile=$(CODE_COVERAGE_REPORT_NAME_UNIT).out ./...
0 commit comments