From f33ae519e955738628845318cb7f7a4c91eb4404 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Wed, 13 Oct 2021 23:44:17 +0800 Subject: [PATCH] chore: correctly calculate coverage --- .github/workflows/coverage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 3a38900..169c1a0 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -21,7 +21,7 @@ jobs: - name: Install Dependencies run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev - name: Calculate coverage - run: go test -v -covermode=count -coverprofile=coverage.out ./... + run: go test -v -covermode=count -coverprofile=coverage.out -coverpkg=./... ./... - name: Convert coverage to lcov uses: jandelgado/gcov2lcov-action@v1.0.8 - name: Coveralls