From 4ba28534007705e9e5bbd875f790e93308fd0a28 Mon Sep 17 00:00:00 2001 From: nickajacks1 <128185314+nickajacks1@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:53:23 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20v3=20(chore):=20Update=20test=20?= =?UTF-8?q?workflow=20to=20use=20gotestsum=20(#2895)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a095c063e4b..7b6ced35e75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,8 +30,11 @@ jobs: with: go-version: ${{ matrix.go-version }} + - name: Install gotestsum + run: go install gotest.tools/gotestsum@v1.11.0 + - name: Test - run: go test ./... -v -race -count=1 -coverprofile=coverage.txt -covermode=atomic + run: gotestsum -f testname -- ./... -race -count=1 -coverprofile=coverage.txt -covermode=atomic - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1