Browse Source

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

pull/8864/head
Mike Morris 4 years ago committed by GitHub
parent
commit
6c0907f494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .circleci/config.yml
  2. 2
      GNUmakefile

1
.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

2
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"

Loading…
Cancel
Save