From ab30a3e01622e552d2b58bd470658ec601282bee Mon Sep 17 00:00:00 2001 From: Charlie Vieth Date: Sun, 24 Nov 2024 01:07:44 -0500 Subject: [PATCH] gh: add code coverage --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 32cb843..e432b06 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -20,7 +20,7 @@ jobs: with: go-version: ${{ matrix.go }} - name: Test - run: make test + run: go test -coverprofile=coverage.txt -race ./... - name: Test Builds run: make test_build --jobs=4 - name: Upload coverage reports to Codecov