From af5904128aff7eb73b9d49cdb75856e179349acb Mon Sep 17 00:00:00 2001 From: Mateusz Hawrus <48822818+nieomylnieja@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:06:03 +0200 Subject: [PATCH] chore: Add retry to end-to-end workflow run (#562) --- .github/workflows/e2e-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index ea04b4c7..a2eed552 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -43,6 +43,11 @@ jobs: go-version-file: go.mod cache: false - name: Run tests + uses: nick-fields/retry@v3 + with: + timeout_minutes: 15 + max_attempts: 3 + command: make test/e2e env: NOBL9_SDK_CLIENT_ID: ${{ inputs.clientId }} NOBL9_SDK_CLIENT_SECRET: ${{ secrets.clientSecret }} @@ -50,4 +55,3 @@ jobs: NOBL9_SDK_OKTA_AUTH_SERVER: ${{ inputs.oktaAuthServer }} NOBL9_SDK_NO_CONFIG_FILE: true NOBL9_SDK_TEST_RUN_SEQUENTIAL_APPLY_AND_DELETE: ${{ inputs.sequentialApplyAndDelete }} - run: make test/e2e