Discrepancies in code coverage between irongut/CodeCoverageSummary and PublishCodeCoverageResults@1
Bug Report
Code coverage seems to be 0% for some of the projects, while there is coverage almost 100%.
Workflow File
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: 'coverage/**/coverage.cobertura.xml'
badge: true
format: 'markdown'
output: 'both'
Expected Behavior
Code coverage summary should not differ depend on CI/CD environment
Additional Context
You can see results on attached screenshots below, Azure Devops shows correct values while CodeCoverageSummary action zeroes it for one project. Also, how branch rate can be 100% while line rate is 0%
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days.
This issue was closed because it has been stale for 30 days with no activity.