codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

In case of multiple files as arguments, only first file is getting selected. Getting file not found for second file

Open srinidhis94 opened this issue 3 years ago • 2 comments

files: ./parser/cover.out, ./replacer/cover.out Output : ==> Reading reports + ./parser/cover.out bytes=5652 - file not found at ./replacer/cover.out files: ./replacer/cover.out, ./parser/cover.out Output : ==> Reading reports + ./replacer/cover.out bytes=15409 - file not found at ./parser/cover.out

srinidhis94 avatar Jun 13 '21 12:06 srinidhis94

This issue likely originates from the Codecov script this project uses. Can you open this issue over at codecov/codecov-bash?

RA80533 avatar Jun 14 '21 11:06 RA80533

./coverage/coverage-final.json, ./coverage/jest/coverage-final.json

You put space after comma. As far as I read https://github.com/codecov/codecov-action#readme and https://github.com/codecov/codecov-action/blob/v3.1.0/src/buildExec.ts#L104-L108, by trimming the space, it will work.

- files: ./parser/cover.out, ./replacer/cover.out
+ files: ./parser/cover.out,./replacer/cover.out

sensuikan1973 avatar May 08 '22 21:05 sensuikan1973