test(vault): generate test coverage and upload to CodeCov (#8870)
This commit is contained in:
parent
eb23a7d5dd
commit
80aef1ca1d
|
@ -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…
Reference in New Issue