diff --git a/.github/workflows/build-and-unit-tests.yml b/.github/workflows/build-and-unit-tests.yml index fdf24ed..37cc548 100644 --- a/.github/workflows/build-and-unit-tests.yml +++ b/.github/workflows/build-and-unit-tests.yml @@ -26,14 +26,13 @@ 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 - name: Upload test coverage to codecov uses: codecov/codecov-action@v5 + env: + GOCOVERDIR: "/home/runner/work/cosi-driver/cosi-driver" with: token: ${{ secrets.CODECOV_TOKEN }} slug: scality/cosi-driver