test: run both the TestVaultProvider and TestVaultCAProvider tests in CI (#7097)

This commit is contained in:
R.B. Boyer 2020-01-21 12:01:35 -06:00 committed by GitHub
parent d52a4e3b82
commit 988273f2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -376,11 +376,11 @@ test-envoy-integ: $(ENVOY_INTEG_DEPS)
test-vault-ca-provider:
ifeq ("$(CIRCLECI)","true")
# Run in CI
gotestsum --format=short-verbose --junitfile "$(TEST_RESULTS_DIR)/gotestsum-report.xml" -- $(CURDIR)/agent/connect/ca/* -run TestVaultCAProvider
gotestsum --format=short-verbose --junitfile "$(TEST_RESULTS_DIR)/gotestsum-report.xml" -- $(CURDIR)/agent/connect/ca/* -run 'TestVault(CA)?Provider'
else
# Run locally
@echo "Running /agent/connect/ca TestVaultCAProvider tests in verbose mode"
@go test $(CURDIR)/agent/connect/ca/* -run TestVaultCAProvider -v
@echo "Running /agent/connect/ca TestVault(CA)?Provider tests in verbose mode"
@go test $(CURDIR)/agent/connect/ca/* -run 'TestVault(CA)?Provider' -v
endif
proto-delete: