diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c86f82e26..537e7836f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,10 +60,15 @@ jobs: ${{ matrix.gradle_task }} -Dbuild.snapshot=false - name: Coverage - uses: codecov/codecov-action@v3 + uses: Wandalen/wretry.action 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()