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
There is a discrepancy between the code coverage reported by Codecov and the actual JaCoCo coverage report generated locally and in GitHub Actions.
Issue Description
I am using GitHub Actions to run unit and instrumented tests for my Android project. The JaCoCo report generated in my CI environment consistently reports 73% code coverage, which matches the local report. However, when the same JaCoCo XML report is uploaded to Codecov, the Codecov dashboard displays only 62% coverage.
Codecov Test Coverage
Result of local test and artifact
Steps to Reproduce
In my local machine and GitHub Actioni run unit tests and instrumented tests using ./gradlew JacocoDebugCodeCoverage.
Generate the JaCoCo report and verify that it shows 73% coverage here.
Upload the JaCoCo report to Codecov using the codecov/codecov-action@v5 GitHub Action.
Check the reported coverage on Codecov.io—it incorrectly shows 62% here.
Expected Behavior
Codecov should display the same coverage percentage as the JaCoCo report, which is 73%.
Observed Behavior
Codecov incorrectly reports 62% coverage, which does not match the JaCoCo report.
Description:
There is a discrepancy between the code coverage reported by Codecov and the actual JaCoCo coverage report generated locally and in GitHub Actions.
Issue Description
I am using GitHub Actions to run unit and instrumented tests for my Android project. The JaCoCo report generated in my CI environment consistently reports 73% code coverage, which matches the local report. However, when the same JaCoCo XML report is uploaded to Codecov, the Codecov dashboard displays only 62% coverage.
Steps to Reproduce
./gradlew JacocoDebugCodeCoverage
.Expected Behavior
Codecov should display the same coverage percentage as the JaCoCo report, which is 73%.
Observed Behavior
Codecov incorrectly reports 62% coverage, which does not match the JaCoCo report.
Relevant Configuration
.codecov.yml
settings:Additional Information
The text was updated successfully, but these errors were encountered: