Skip to content

Find, verify, and analyze leaked credentials

[chore] Ignore analyzer implementation tests in test-community (#3219)

Miccahdaa45cfac430
diff --git a/Makefile b/Makefile
index 58889089e..4f38b92d0 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ test-detectors:
CGO_ENABLED=0 go test -tags=detectors -timeout=5m $(shell go list ./... | grep pkg/detectors)
test-community:
- CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/ | grep -v pkg/detectors | grep -v pkg/sources)
+ CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/ | grep -v pkg/detectors | grep -v pkg/sources | grep -v pkg/analyzer/analyzers)
bench:
CGO_ENABLED=0 go test $(shell go list ./pkg/secrets/... | grep -v /vendor/) -benchmem -run=xxx -bench .