From 80aef1ca1dd3b475e0e7a17f3557e9f74df369f4 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 417610f18..a7f4e2232 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/GNUmakefile b/GNUmakefile index 559f97bc7..7c4fe143b 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"