From 190453af3bac2435a9c6324e1a1196347e5de63b Mon Sep 17 00:00:00 2001 From: Gustav Westling Date: Fri, 1 Mar 2019 11:32:05 +0100 Subject: [PATCH] ci: configure test coverage reports with CodeCov --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2bd7e5fb..709a00c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,8 @@ jobs: working_directory: /go/app steps: - checkout - - run: go test -v github.com/zegl/kube-score/... + - run: go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg github.com/zegl/kube-score/... -v github.com/zegl/kube-score/... + - run: bash <(curl -s https://codecov.io/bash) # This step is identical to docker-hub-release, except for the push commad docker-test: