From 0f683abc09abeb2a5f324783766ca58b47d4ef1b Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Thu, 2 Jan 2025 10:59:01 +0100 Subject: [PATCH] COSI-53: Set GOCOVERDIR for codecov to reduce failurs --- .github/workflows/build-and-unit-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-unit-tests.yml b/.github/workflows/build-and-unit-tests.yml index 664255f8..fdf24ed8 100644 --- a/.github/workflows/build-and-unit-tests.yml +++ b/.github/workflows/build-and-unit-tests.yml @@ -26,6 +26,9 @@ jobs: - name: Install dependencies run: go mod tidy + - name: Set GOCOVERDIR + run: echo "GOCOVERDIR=/home/runner/work/cosi-driver/cosi-driver" >> $GITHUB_ENV + - name: Run tests run: make test