Skip to content

Commit

Permalink
Update makefile to publish coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster committed Feb 6, 2024
1 parent 92de7b1 commit 0ce2e87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ crashlytics-build.properties

# Reports
*reports
coverage.out

.DS_Store
bin/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test:
@echo " CGO_LDFLAGS = $(CGO_LDFLAGS)"
@echo " BUILD_TAGS = $(BUILD_TAGS)"
@echo " ADD_LDFLAGS = $(ALDFLAGS)"
@$(GO) test -v --count=1 -tags="$(BUILD_TAGS)" $(ALDFLAGS) $(PACKAGES)
@$(GO) test -v --count=1 -coverprofile=coverage.out -tags="$(BUILD_TAGS)" $(ALDFLAGS) $(PACKAGES)

.PHONY: bench
bench:
Expand Down

0 comments on commit 0ce2e87

Please sign in to comment.