Skip to content

Commit

Permalink
🧹 v3 (chore): Update test workflow to use gotestsum
Browse files Browse the repository at this point in the history
  • Loading branch information
nickajacks1 committed Mar 5, 2024
1 parent 77770a9 commit 78d5d39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- name: Install gotestsum
run: go install gotest.tools/[email protected]

- 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/[email protected]
Expand Down

0 comments on commit 78d5d39

Please sign in to comment.