mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
🧹 v3 (chore): Update test workflow to use gotestsum (#2895)
This commit is contained in:
parent
77770a9db1
commit
6389961614
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -30,8 +30,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
|
- name: Install gotestsum
|
||||||
|
run: go install gotest.tools/gotestsum@v1.11.0
|
||||||
|
|
||||||
- name: Test
|
- 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
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4.0.1
|
uses: codecov/codecov-action@v4.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user