From 06329a8bd927e4ee56e14a899f50ef144f2b2abe Mon Sep 17 00:00:00 2001 From: xuezhao Date: Sun, 7 Apr 2024 12:58:16 +0000 Subject: [PATCH] Retry on codecov upload. Signed-off-by: GitHub --- .github/workflows/pre.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre.yml b/.github/workflows/pre.yml index 7a90c6052..39a1ffd69 100644 --- a/.github/workflows/pre.yml +++ b/.github/workflows/pre.yml @@ -63,13 +63,17 @@ jobs: - name: unit run: make test - name: report coverage - uses: codecov/codecov-action@v3 + uses: wandalen/wretry.action@v1.3.0 with: - files: ./coverage.out - flags: unit - name: unit - verbose: true - fail_ci_if_error: true + action: codecov/codecov-action@v3 + with: | + files: ./coverage.out + flags: unit + name: unit + verbose: true + fail_ci_if_error: true + attempt_limit: 3 + attempt_delay: 10000 integration: name: integration