From 894a318f99e3513fccb8ac8045d4c966650d4d11 Mon Sep 17 00:00:00 2001 From: Mac Siri Date: Mon, 3 Jul 2023 16:40:51 -0400 Subject: [PATCH] Add retry to codecov upload (#19679) --- .github/workflows/ci-cd.yml | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 0601d6ca2..dd82a3105 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -420,21 +420,33 @@ jobs: mv simplecov-* coverage/simplecov mv cypress-* coverage/cypress mv jest coverage/jest - - uses: codecov/codecov-action@v3 + - uses: Wandalen/wretry.action@master with: - flags: ruby - directory: coverage/simplecov - fail_ci_if_error: true - - uses: codecov/codecov-action@v3 + action: codecov/codecov-action@v3 + with: | + flags: ruby + directory: coverage/simplecov + fail_ci_if_error: true + attempt_limit: 5 + attempt_delay: 10000 + - uses: Wandalen/wretry.action@master with: - flags: jest, javascript - directory: coverage/jest - fail_ci_if_error: true - - uses: codecov/codecov-action@v3 + action: codecov/codecov-action@v3 + with: | + flags: jest, javascript + directory: coverage/jest + fail_ci_if_error: true + attempt_limit: 5 + attempt_delay: 10000 + - uses: Wandalen/wretry.action@master with: - flags: cypress, javascript - directory: coverage/cypress - fail_ci_if_error: true + action: codecov/codecov-action@v3 + with: | + flags: cypress, javascript + directory: coverage/cypress + fail_ci_if_error: true + attempt_limit: 5 + attempt_delay: 10000 CI-status-report: runs-on: ubuntu-latest