From 5bcba54b52dc5fb1c27e030d5e5b88d0f6f11a59 Mon Sep 17 00:00:00 2001 From: Emir Pasic Date: Wed, 13 Apr 2022 13:23:25 +0200 Subject: [PATCH] codeconv integration --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 969f51d..04d3bee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,5 @@ version: 2.1 -orbs: - codecov: codecov/codecov@3.2.2 jobs: test: parameters: @@ -31,9 +29,13 @@ jobs: command: | mkdir -p $TEST_RESULTS go test -coverprofile=coverage.out ./... > /dev/null + go test -race -coverprofile=coverage.txt -covermode=atomic go tool cover -html=coverage.out -o coverage.html mv coverage.html $TEST_RESULTS - - codecov/upload + - run: + name: Upload test coverage + command: | + bash <(curl -s https://codecov.io/bash) - run: name: Lint (golint) command: | @@ -70,4 +72,4 @@ workflows: matrix: parameters: # To test with and without generics (versions prior to 1.18) - version: ["1.18", "1.17"] \ No newline at end of file + version: [ "1.18", "1.17" ] \ No newline at end of file