diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecbf4242dd..f750f75794 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,10 +55,15 @@ jobs: -x test - name: Coverage - uses: codecov/codecov-action@v1 + uses: Wandalen/wretry.action@v1.3.0 with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./build/reports/jacoco/test/jacocoTestReport.xml + attempt_limit: 3 + attempt_delay: 2000 + action: codecov/codecov-action@v3 + with: | + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + files: ./build/reports/jacoco/test/jacocoTestReport.xml - uses: actions/upload-artifact@v3 if: always()