From c632f5fe7ae546558022078b9782759a10cf2423 Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Thu, 21 Oct 2021 12:59:11 +0200 Subject: [PATCH] Add Codecov Signed-off-by: Maxence Maireaux --- .github/workflows/pr_open.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_open.yml b/.github/workflows/pr_open.yml index 194fe65a2..1289bb546 100644 --- a/.github/workflows/pr_open.yml +++ b/.github/workflows/pr_open.yml @@ -24,7 +24,9 @@ jobs: - name: fetch numary control run: make fetch-control - name: run tests - run: go test -v -coverpkg=./... -coverprofile=coverage.out ./... + run: go test -v -coverpkg=./... -coverprofile=coverage.out -covermode=atomic ./... + - name: Upload coverage to Codecov + run: bash <(curl -s https://codecov.io/bash) Lint: name: 'Lint' runs-on: ubuntu-latest