Skip to content

Commit 38277b5

Browse files
committed
fix missing coverage file
Signed-off-by: Tim Ramlot <[email protected]>
1 parent a68410d commit 38277b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

make/test-unit.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
## @category Testing
1818
test-unit: | $(NEEDS_GO) $(NEEDS_GOTESTSUM) $(ARTIFACTS)
1919
$(GOTESTSUM) \
20+
--junitfile=$(ARTIFACTS)/junit-go-e2e.xml \
21+
-- \
22+
-coverprofile=$(ARTIFACTS)/filtered.cov \
2023
./... \
2124
-- \
22-
-ldflags $(go_manager_ldflags) \
23-
-coverprofile cover.out
25+
-ldflags $(go_manager_ldflags)
2426

2527
$(GO) tool cover -html=$(ARTIFACTS)/filtered.cov -o=$(ARTIFACTS)/filtered.html

0 commit comments

Comments
 (0)