diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 224dc3d3..3ea8441d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: diff -u <(echo -n) <(go fmt $(go list ./...)) - name: Test - run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic + run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index 5c4c8734..5747117a 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -29,7 +29,7 @@ jobs: cache-dependency-path: go.sum - name: Test - run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic + run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... - name: Coverage run: bash <(curl -s https://codecov.io/bash)