diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-03-27 16:48:53 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-03-27 16:48:53 +0100 |
commit | e356e1b4cb32ac0bb38907feff9ebee5d9ad79fd (patch) | |
tree | 600c19f496baf5264792206d7b6017b35e9c72a0 /.github/workflows | |
parent | c2dd1f5e20a4054cb4194145293af4f3409759dc (diff) |
Ignore some folders on coverage
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |