Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

ci: retry the Codecov upload, with the first attempt sabotaged to prove it

mateo-berri1e5dc5bf783e
diff --git a/.github/workflows/_test-unit-base.yml b/.github/workflows/_test-unit-base.yml
index a03b6d41320..5de2ee7b121 100644
--- a/.github/workflows/_test-unit-base.yml
+++ b/.github/workflows/_test-unit-base.yml
@@ -154,8 +154,20 @@ jobs:
merge-multiple: true
- name: Upload to Codecov
- env:
- ACTIONS_ID_TOKEN_REQUEST_URL: http://127.0.0.1:9/simulated-oidc-broker-outage
+ id: codecov-upload
+ continue-on-error: true
+ uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
+ with:
+ use_oidc: true
+ directory: simulated-first-attempt-outage
+ disable_search: true
+ root_dir: ${{ github.workspace }}
+ flags: ${{ inputs.artifact-name }}
+ fail_ci_if_error: true
+
+ - name: Upload to Codecov (retry)
+ if: steps.codecov-upload.outcome == 'failure'
+ continue-on-error: true
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
with:
use_oidc: true