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

pull/8864/head
Mike Morris 4 years ago committed by GitHub
parent 71ba8300a3
commit 6c0907f494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -356,7 +356,7 @@ test-envoy-integ: $(ENVOY_INTEG_DEPS)
test-connect-ca-providers: test-connect-ca-providers:
ifeq ("$(CIRCLECI)","true") ifeq ("$(CIRCLECI)","true")
# Run in CI # 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 else
# Run locally # Run locally
@echo "Running /agent/connect/ca tests in verbose mode" @echo "Running /agent/connect/ca tests in verbose mode"

Loading…
Cancel
Save