You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are currently two situations where the coverage reports codecov generates are incorrect:
When the CI runs coverage reports are generated in 7 different matrix jobs. These do not complete at the same time which results in an initial coverage report that's incorrect and is then updated as each report is uploaded, eventually becoming correct only if all jobs pass. In the interim the report is wrong and this is misleading.
When there is a problem with the codecov upload for one of the 7 matrix steps this can cause coverage to become wrong if the problem doesn't effect all of the steps. The coverages misses out part of the code and reports wildly higher/lower coverage. Currently there's no warning or error that the coverage didn't upload.
If coverage did not upload then the tests must all be rerun as the coverage upload is directly coupled to this job.
Desired behavior
The report should only be generated if all coverage information is available, and if the codecov upload fails due to an intermittent error, we should be able to retry just the upload without a need to rerun any tests.
The text was updated successfully, but these errors were encountered:
* Store reports in an artifact, upload once in a separate job
Compared to before this avoids making multiple uploads to codecov and allows the codecov upload to be reattempted with rerunning any tests.
* Fix Codecov 'unusable report' caused by missing source code
The source files are required to be present when uploading coverage - https://docs.codecov.com/docs/error-reference#unusable-reports
* Include reports for example
JaCoCo was disabled for these causing all reports to be missing
Describe the bug
There are currently two situations where the coverage reports codecov generates are incorrect:
If coverage did not upload then the tests must all be rerun as the coverage upload is directly coupled to this job.
Desired behavior
The report should only be generated if all coverage information is available, and if the codecov upload fails due to an intermittent error, we should be able to retry just the upload without a need to rerun any tests.
The text was updated successfully, but these errors were encountered: