From 1abc56beda5d1d939e51068a3cca354d6ad7b840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Werner?= Date: Tue, 6 Sep 2022 17:42:50 +0200 Subject: [PATCH] Add retry logic to tests --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ceaf859e8e..000f7717ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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