From b2dbe95e30107760ed2ccf5bba420fb34e8b9f7d Mon Sep 17 00:00:00 2001 From: Emir Pasic Date: Wed, 13 Apr 2022 13:06:26 +0200 Subject: [PATCH] codeconv integration --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d4b8004..969f51d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,7 @@ version: 2.1 +orbs: + codecov: codecov/codecov@3.2.2 jobs: test: parameters: @@ -28,9 +30,10 @@ jobs: name: Calculate test coverage command: | mkdir -p $TEST_RESULTS - go test -coverprofile=c.out ./... > /dev/null - go tool cover -html=c.out -o coverage.html + go test -coverprofile=coverage.out ./... > /dev/null + go tool cover -html=coverage.out -o coverage.html mv coverage.html $TEST_RESULTS + - codecov/upload - run: name: Lint (golint) command: |