From 383bececb84a28fb0a51bdd23ccb2966d659ea3e Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 30 Aug 2019 16:11:32 +0300 Subject: [PATCH] circleci: add codecov integration --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d713a53fe..f361fd5fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,7 @@ version: 2.1 +orbs: + codecov: codecov/codecov@1.0.5 + executors: go1_11: docker: @@ -60,7 +63,9 @@ jobs: steps: - checkout - gomod - - run: go test -v -race ./... + - run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic + - codecov/upload: + file: coverage.txt build_cli: working_directory: /go/src/github.com/CityOfZion/neo-go