From fe2f75d13dd28bfc8ce1fc4be56cfed0447460ea Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 22 Feb 2022 07:40:56 +0000 Subject: [PATCH] Allow integration test to retry --- .github/workflows/test-integration.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index d9c52c7b..b0e818d4 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -29,4 +29,8 @@ jobs: - name: Run Integration tests if: steps.changed-files.outputs.any_changed == 'true' - run: go test -tags integration -timeout 30m + uses: nick-invision/retry@v2 + with: + max_attempts: 5 + retry_on: error + command: go test -tags integration -timeout 20m