Skip to content

Commit

Permalink
Add testnolint build rule (#6400)
Browse files Browse the repository at this point in the history
* Add testnolint build rule

* Make testnolint a prerequisite of test

* Add to PHONY
  • Loading branch information
trodge authored Oct 3, 2023
1 parent 6c1579c commit d7e7482
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ default: build
build: lint
go install

test: lint
test: lint testnolint

# Used in CI to prevent lint failures from being interpreted as test failures
testnolint:
go test $(TESTARGS) -timeout=30s $(TEST)

testacc: lint
Expand Down Expand Up @@ -45,5 +48,5 @@ endif
docscheck:
@sh -c "'$(CURDIR)/scripts/docscheck.sh'"

.PHONY: build test testacc fmt fmtcheck vet lint errcheck test-compile website website-test docscheck
.PHONY: build test testnolint testacc fmt fmtcheck vet lint errcheck test-compile website website-test docscheck

0 comments on commit d7e7482

Please sign in to comment.