From 78d5d394a4e33d44e963ab6680bf761c61c4ce0b Mon Sep 17 00:00:00 2001 From: Nicholas Jackson Date: Mon, 4 Mar 2024 19:14:41 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20v3=20(chore):=20Update=20test=20?= =?UTF-8?q?workflow=20to=20use=20gotestsum?= 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 a095c063e4..7b6ced35e7 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