Upload tools search for files even when the files is provided
#820
kojiromike
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to get high quality code coverage reporting on the open source OpenEMR project. The testing workflows for that project are pretty complicated. (Note that OpenEMR only collects coverage on the
PHP 8.4 - apache - mariadb 11.4test configuration to limit the performance hit.)Before we were using codecov.io, I ran all the different test suites, and used a manual step to collect and combine the coverage reports in a single report, uploading those artifacts to GH. Then I added codecov.io. Since I understand it combines different reports into a comprehensive view, I added individual upload steps for each testsuite, like:
This does create a report, but there are a few problems with it. The codecov tool finds all the coverage files from all the previous testsuites in the workflow, even though the
filesoption is there. Consider these logsI'm not sure that codecov actually knows how to parse the
.covfiles, or what it does with duplicates. However, the reports in codecov.io looked mostly OK, but had "Multiple flags detected. Please ensure one flag per upload.".I thought maybe the issue with that was due to the multiple files, so I attempted to fix that with
disable_search: true. When I added that, I kept getting the flags error, but also started getting "Unusable report due to issues such as source code unavailability, path mismatch, empty report, or incorrect data format."I thought maybe that error was caused by
disable_searchpreventing access to the source code, so I removeddisable_search: trueand added a complicated process by which each coverage file is renamed to something that codecov.io won't find after reporting it.Unfortunately, I'm still getting all these errors now, and don't really know which direction to try next. Any guidance will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions