Skip to content

Commit

Permalink
🧹 v3 (chore): Update test workflow to use gotestsum (#2895)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickajacks1 authored Mar 5, 2024
1 parent 77770a9 commit 6389961
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

1 comment on commit 6389961

@ReneWerner87
Copy link
Member

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: 6389961 Previous: d2b19e2 Ratio
Benchmark_Middleware_Favicon 193.4 ns/op 12 B/op 4 allocs/op 90.01 ns/op 3 B/op 1 allocs/op 2.15

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

Please sign in to comment.