From 84f184507aefd18005630e0bee3c98175bbb574a Mon Sep 17 00:00:00 2001 From: Herlon Aguiar Date: Sat, 4 Dec 2021 21:48:19 +0100 Subject: [PATCH] specify pkg to test --- .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 cc5e42c..fd5ec88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,6 @@ jobs: with: go-version: '1.17' - name: Run coverage - run: go test -race -coverprofile=coverage.txt -covermode=atomic + run: go test ./pkg/... -race -coverprofile=coverage.txt -covermode=atomic - name: Upload coverage to Codecov run: bash <(curl -s https://codecov.io/bash)