diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86b00e7..3b64493 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,11 +46,11 @@ jobs: run: go build -v ./... - name: Run unit tests - run: gotestsum --packages="./..." -f standard-verbose --rerun-fails -- -v -count=1 + run: gotestsum --packages="./communities" -f standard-verbose --rerun-fails -- -v -count=1 - - name: Check test coverage + - name: Check test coverage for communities package run: | - go test -coverprofile=coverage.out ./... + go test -coverprofile=coverage.out ./communities go tool cover -func=coverage.out - name: Upload coverage reports