🧹 v3 (chore): Update test workflow to use gotestsum (#2895)

This commit is contained in:
nickajacks1 2024-03-04 22:53:23 -08:00 committed by GitHub
parent 77770a9db1
commit 6389961614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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