Skip to content

Commit f135401

Browse files
authored
Fix creation of coverage report folder (#741)
1 parent 8b71e69 commit f135401

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ update-readme:
3535

3636
update: update-readme
3737

38-
$(CODE_COVERAGE_REPORT_NAME_UNIT):
38+
$(CODE_COVERAGE_REPORT_FOLDER):
3939
mkdir -p $@
4040

41-
test-go: $(CODE_COVERAGE_REPORT_NAME_UNIT)
41+
test-go: $(CODE_COVERAGE_REPORT_FOLDER)
4242
# -count=1 is included to invalidate the test cache. This way, if you run "make test-go" multiple times
4343
# you will get fresh test results each time. For instance, changing the source of mocked packages
4444
# does not invalidate the cache so having the -count=1 to invalidate the test cache is useful.
4545
go run gotest.tools/gotestsum --format standard-verbose -- -count 1 -coverprofile=$(CODE_COVERAGE_REPORT_NAME_UNIT).out ./...
4646

47-
test-go-ci: $(CODE_COVERAGE_REPORT_NAME_UNIT)
47+
test-go-ci: $(CODE_COVERAGE_REPORT_FOLDER)
4848
mkdir -p $(PWD)/build/test-results
4949
mkdir -p $(PWD)/build/test-coverage
5050
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

Comments
 (0)