Skip to content

fix: pass the Codecov files input as a comma-separated list - #135

Merged
ernst-dev merged 1 commit into
mainfrom
fix/codecov-files-comma-separator
Sep 1, 2026
Merged

fix: pass the Codecov files input as a comma-separated list#135
ernst-dev merged 1 commit into
mainfrom
fix/codecov-files-comma-separator

Conversation

@ernst-dev

Copy link
Copy Markdown
Member

files must be comma-separated, not a newline block scalar.

dist/codecov.sh sets IFS=, (line 171) before the for file in $CC_FILES loop (line 187), so a newline-separated value is never split. #134 shipped the block-scalar form, which produced a single --file argument with an embedded newline: the CLI logged not_found_files: ["coverage/lcov.info\ncoverage/clover.xml\n"], then Found 0 coverage files to report and Error: No coverage reports found, so fork coverage uploaded nothing.

Evidence: cloudscape-design/components run 33522194549, both matrix legs, after #134 merged.

Reverified against the real script with IFS=,: the newline form yields 1 argument, the comma form yields 2. Please keep the comma form.

codecov.sh sets IFS=, before splitting CC_FILES, so the newline block
scalar from #134 became one --file argument with an embedded newline and
uploaded nothing.
@ernst-dev
ernst-dev requested a review from a team as a code owner September 1, 2026 15:21
@ernst-dev
ernst-dev requested review from amanabiy and removed request for a team September 1, 2026 15:21
@ernst-dev
ernst-dev enabled auto-merge (squash) September 1, 2026 15:28
@ernst-dev
ernst-dev merged commit 7553c40 into main Sep 1, 2026
40 checks passed
@ernst-dev
ernst-dev deleted the fix/codecov-files-comma-separator branch September 1, 2026 15:32
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.

2 participants