From 9b055021cba4b6256089953a42ab3c1a9cc24f17 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 7 Oct 2020 16:32:25 -0400 Subject: [PATCH] test(vault): generate test coverage and upload to CodeCov (#8870) --- .circleci/config.yml | 1 + GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4d2b03eacc..70ea15f140 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/GNUmakefile b/GNUmakefile index edba540f6e..9400e46de5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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"