Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
Add codecov-action
  • Loading branch information
ReneWerner87 authored Mar 4, 2024
1 parent c5a809f commit 0dd2610
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
slug: gofiber/fiber

1 comment on commit 0dd2610

@ReneWerner87
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 0dd2610 Previous: d2b19e2 Ratio
Benchmark_Middleware_Favicon 207.7 ns/op 12 B/op 4 allocs/op 90.01 ns/op 3 B/op 1 allocs/op 2.31

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.