From 8f96e67edf2f2f2455e959fbc99e394cbf992401 Mon Sep 17 00:00:00 2001 From: mojocn Date: Fri, 15 Mar 2024 19:14:27 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8baee3f..c4024e2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,6 +27,9 @@ jobs: - name: Test run: go test -v ./... + - name: Run coverage + run: go test -race -coverprofile=coverage.txt -covermode=atomic + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 with: