Skip to content

Commit

Permalink
disable broken staticcheck, add coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
emicklei committed Jul 23, 2021
1 parent 48f14fc commit 74704d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/bin/
debug.test
.DS_Store
coverage.txt
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ staticcheck: $(STATICCHECK)
.PHONY: lint
# TODO: readd errcheck when fixed
#lint: golint vet errcheck staticcheck
lint: golint vet staticcheck
#lint: golint vet staticcheck
lint: golint vet

.PHONY: test
test:
go test -race ./...
go test -race -coverprofile=coverage.txt -covermode=atomic ./...

.PHONY: clean
clean:
Expand Down

0 comments on commit 74704d7

Please sign in to comment.