From dea33326e64059343362da81de919092e64b5907 Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Wed, 31 Jan 2024 18:10:52 +0200 Subject: [PATCH] fix codecov reports Signed-off-by: Arik Hadas --- .github/workflows/pull-request.yml | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a3bf53327..a179880fc 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -124,3 +124,5 @@ jobs: files: ./go/src/github.com/${{ github.repository }}/cover.out flags: unittests fail_ci_if_error: false # see https://github.com/codecov/codecov-action/issues/598 + env: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/Makefile b/Makefile index 40589cc81..cb0bd3ad8 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,8 @@ ci: all tidy vendor bazel-generate generate-verify all: test forklift-controller # Run tests -test: generate fmt vet manifests validation-test - go test ./pkg/... ./cmd/... -coverprofile cover.out +test: generate fmt manifests validation-test + go test ./pkg/... ./cmd/... -coverprofile=cover.out # Experimental e2e target e2e-sanity: e2e-sanity-ovirt e2e-sanity-vsphere