From 7a94d4689dcbafd16907ecdfcf9d7093504b32c6 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Sat, 1 Mar 2025 12:17:59 +0100 Subject: [PATCH] fix(go.yml): use `-short` when measuring coverage We're not interested to measure integration tests' coverage. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e80896b..e002402 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,7 +46,7 @@ jobs: go-version: "1.24" - name: Measure Coverage - run: go test -race -covermode=atomic -coverprofile=coverage.out ./... + run: go test -short -race -covermode=atomic -coverprofile=coverage.out ./... - name: Upload Coverage uses: codecov/codecov-action@v5