Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testnolint build rule #6400

Merged
merged 3 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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