Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Improve test filtering in Makefile (#673)
Dustin Decker5b7eff5c5720
diff --git a/Makefile b/Makefileindex 9346d7136..2214eb180 100644--- a/Makefile+++ b/Makefile@@ -28,13 +28,13 @@ test-failing:CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/) | grep FAILtest:- CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/)+ CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/ | grep -v pkg/detectors)test-race:- CGO_ENABLED=1 go test -timeout=5m -race $(shell go list ./... | grep -v /vendor/)+ CGO_ENABLED=1 go test -timeout=5m -race $(shell go list ./... | grep -v /vendor/ | grep -v pkg/detectors)test-detectors:- CGO_ENABLED=0 go test -tags=detectors -timeout=5m $(shell go list ./...)+ CGO_ENABLED=0 go test -tags=detectors -timeout=5m $(shell go list ./... | grep pkg/detectors)bench:CGO_ENABLED=0 go test $(shell go list ./pkg/secrets/... | grep -v /vendor/) -benchmem -run=xxx -bench .