Update test.yml

Add codecov-action
pull/2896/head^2
RW 2024-03-04 19:18:11 +01:00 committed by GitHub
parent c5a809f5c5
commit 0dd26107fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -30,4 +30,13 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- run: go test ./... -v -race -count=1
- name: Test
run: go test ./... -v -race -count=1 -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
slug: gofiber/fiber