Skip to content

ci(coverage): upload the coverage of both database jobs - #1997

Open
miaulalala wants to merge 1 commit into
masterfrom
ci/codecov-per-db-coverage
Open

miaulalala wants to merge 1 commit into
masterfrom
ci/codecov-per-db-coverage

Conversation

@miaulalala

Copy link
Copy Markdown
Collaborator

Both test jobs (postgres and sqlite) save their coverage report as coverage.xml. The upload job downloads the two artifacts with merge-multiple: true, so one file overwrites the other and Codecov only receives the coverage of one database.

Each job now renames its report to coverage-<db>.xml before uploading the artifact. The Codecov action searches the coverage directory and picks up both files, so the upload step itself is unchanged.

Not covered here: the required codecov/project check never reports back to GitHub. That needs a change in the repository or Codecov settings, not in the workflow.

🤖 Generated with Claude Code

Both matrix jobs saved their report as coverage.xml, and the upload job
downloads the artifacts with merge-multiple, so one file overwrote the
other and Codecov only ever received the coverage of one database.
Each job now names its report after its database.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala added technical debt Known-bad code paid back: hacky or buggy, sometimes fallout from outdated dependencies github_actions Pull requests that update GitHub Actions code labels Nov 25, 2026
@miaulalala miaulalala self-assigned this Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code technical debt Known-bad code paid back: hacky or buggy, sometimes fallout from outdated dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant