test(vault): generate test coverage and upload to CodeCov (#8870)

This commit is contained in:
Mike Morris 2020-10-07 16:32:25 -04:00
parent 26d61c6b13
commit 9b055021cb
2 changed files with 2 additions and 1 deletions

View File

@ -683,6 +683,7 @@ jobs:
make test-connect-ca-providers
- store_test_results:
path: *TEST_RESULTS_DIR
- run: *codecov_upload
# only runs on master: checks latest commit to see if the PR associated has a backport/* or docs* label to cherry-pick
cherry-picker:

View File

@ -356,7 +356,7 @@ test-envoy-integ: $(ENVOY_INTEG_DEPS)
test-connect-ca-providers:
ifeq ("$(CIRCLECI)","true")
# Run in CI
gotestsum --format=short-verbose --junitfile "$(TEST_RESULTS_DIR)/gotestsum-report.xml" -- ./agent/connect/ca
gotestsum --format=short-verbose --junitfile "$(TEST_RESULTS_DIR)/gotestsum-report.xml" -- -cover -coverprofile=coverage.txt ./agent/connect/ca
else
# Run locally
@echo "Running /agent/connect/ca tests in verbose mode"