Skip to content

ci: upload test results only when tests fail - #1

Merged
fernandobelotto merged 1 commit into
mainfrom
ci/upload-results-on-failure
Oct 4, 2026
Merged

fernandobelotto merged 1 commit into
mainfrom
ci/upload-results-on-failure

Conversation

@fernandobelotto

Copy link
Copy Markdown
Owner

Why

Actions artifact storage is shared by the whole account. When it fills up, artifact uploads fail in every repo. Ritmo's source release run hit exactly that error: "Artifact storage quota has been hit". Uploading .xcresult bundles after every run, including passing ones, adds to that quota.

Change

The test-results upload step in .github/workflows/ci.yml now runs with if: failure() instead of if: always(). Results are still uploaded when tests fail. Nothing else changes.

Verification

actionlint .github/workflows/ci.yml reports no new issues. It shows one SC2181 shellcheck style note that predates this change.

🤖 Generated with Claude Code

Uploading .xcresult bundles on every run counts against the account-wide
Actions artifact quota. Keep them for failed runs only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fernandobelotto
fernandobelotto merged commit ea62521 into main Oct 4, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant