From e356e1b4cb32ac0bb38907feff9ebee5d9ad79fd Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 27 Mar 2025 16:48:53 +0100 Subject: Ignore some folders on coverage --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a479fc..7ad7a7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: go-version: '1.23' - name: Test - run: go test ./... -v -race -coverprofile=coverage.txt + run: go test $(go list ./... | egrep -v 'proto|cmd') -v -race -coverprofile=coverage.txt - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 -- cgit v1.2.3-18-g5258