Skip to content

Commit

Permalink
🧹 v3 (chore): Update test workflow to use gotestsum (gofiber#2895)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickajacks1 authored and grivera64 committed Mar 16, 2024
1 parent 2f10314 commit 4ba2853
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/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
Expand Down

0 comments on commit 4ba2853

Please sign in to comment.