Skip to content

Commit 56fe650

Browse files
committed
Add retry logic to tests
1 parent 6ed1dff commit 56fe650

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: .github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ jobs:
3535
- name: Fetch Repository
3636
uses: actions/checkout@v3
3737
- name: Run Test
38-
run: go test ./... -v -race
38+
uses: nick-fields/retry@v2
39+
with:
40+
max_attemps: 3
41+
command: go test ./... -v -race

0 commit comments

Comments
 (0)