mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
[chore] Ignore analyzer implementation tests in test-community (#3219)
Many analyzer tests require GCP credentials, which the community does not have access to. It's best to ignore these tests, which would otherwise immediately fail for unrelated community contributions.
This commit is contained in:
parent
3db9ed7c74
commit
daa45cfac4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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 .
|
||||
|
|
Loading…
Reference in a new issue