From 794bff3e1f5525a2e2eaf91de8b7b8eb5bfd1865 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Tue, 26 Nov 2024 15:44:53 +0000 Subject: [PATCH] ci: Report code coverage --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f00ae858..941bcc1a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -111,7 +111,7 @@ jobs: run: go build ./... - name: Run unit tests - run: go test -race $(go list ./... | grep -v /tfexec/internal/e2etest) + run: go test -cover -race $(go list ./... | grep -v /tfexec/internal/e2etest) e2e-tests: name: e2e-tests (${{ matrix.os }}, go ${{ matrix.go_version }}, terraform ${{ matrix.terraform_version }})