Skip to content

Commit

Permalink
added codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
kopaygorodsky committed May 29, 2021
1 parent cdbe060 commit 955bd35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test:
go test ./... -cover

.PHONY: test-report
test-report: create_reports_dir #lint
test-report:
#go test -coverprofile=$(CI_REPORTS_DIR)/coverage.txt -covermode=atomic -json $(UNIT_TEST_PKGS) > $(CI_REPORTS_DIR)/report.json
go test -coverprofile=coverage.txt -covermode=atomic $(UNIT_TEST_PKGS)

Expand All @@ -76,7 +76,7 @@ lint:
golangci-lint run -v

.PHONY: lint-report
lint-report: create_reports_dir
lint-report:
golangci-lintgolangci-lint run -v --issues-exit-code=0 --out-format checkstyle > lint-report.xml

.PHONY: create_reports_dir
Expand Down

0 comments on commit 955bd35

Please sign in to comment.