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 committed by GitHub
parent eb23a7d5dd
commit 80aef1ca1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

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

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"