Skip to content

Commit

Permalink
Add retry logic to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Sep 6, 2022
1 parent 4630a19 commit 1abc56b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -35,4 +35,8 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Test
run: go test ./... -v -race
uses: nick-fields/retry@v2
with:
max_attempts: 3
timeout_minutes: 15
command: go test ./... -v -race

1 comment on commit 1abc56b

@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: 1abc56b Previous: 9b6d62d Ratio
Benchmark_StatusMessage/default 10.9 ns/op 0 B/op 0 allocs/op 4.985 ns/op 0 B/op 0 allocs/op 2.19

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

Please sign in to comment.