Closed veimox closed 1 year ago
Internal ticket created : TS-264
Hello @veimox
Thanks for reporting this.
Only upload the first file because you should use something like "report -r file1 -r file2 -r file3" and you're just using -r in the first file but not in the other ones. Check our documentation: https://docs.codacy.com/coverage-reporter/uploading-coverage-in-advanced-scenarios/#multiple-reports-once
Kind regards, David Marinho
Issue
I am using #444 to define a glob in order to find all my reports with a one liner. The glob seems to work as expected but it only uploads the first file found with the glob.
Expected behaviour
Upload all reports found in the glob
Logs
How to reproduce
Unfortunately I cannot share the repo.
Others
We added a test case for finding the files but we did not verify that we are actually uploading all the files in sendFilesReportForCommit. I am not a Scala dev but it seems to me like we are exiting the loop as soon as we upload the first file.