From 2d0659067472e7a96a633d544040e8a712933611 Mon Sep 17 00:00:00 2001 From: thorsten Date: Mon, 28 Sep 2026 20:47:24 +0200 Subject: [PATCH] ci: retry Coveralls upload once on failure --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2182ff..95e7b33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,20 @@ jobs: -reporttypes:"Html;lcov;Cobertura" - name: Upload Coverage to Coveralls + id: coveralls + uses: coverallsapp/github-action@v2 + # Transient coveralls.io 5xx errors happen; the retry below still fails the build if it persists. + continue-on-error: true + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: TestResults/Reports/lcov.info + + - name: Wait before Coveralls retry + if: steps.coveralls.outcome == 'failure' + run: Start-Sleep -Seconds 60 + + - name: Upload Coverage to Coveralls (retry) + if: steps.coveralls.outcome == 'failure' uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }}