Skip to content

[Question]: Always getting full diffs as if no pre-existing report was available #59

@alxgomz

Description

@alxgomz

I have integrated the coverage-action in my test repo where I want to publish reports as comments (which works well) AND include diff to track and foster improvements.
My problem is that I always get the same diff report (as shown below):

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

I think my setup is ok and the only odd thing I see is that pycobertura is looking for stored reports from the inputs.diff-branch in a folder of the same name as the inputs.diff-storage branch which doesn't exist in my storage branch. That said I suspect this could because this is where the action to cloning the storage branch (although I could not track it down).

Here is an example of the workflow I have setup: alxgomz/alfresco-helm-charts#3
and here is the matching workflow file: https://github.com/alxgomz/alfresco-helm-charts/actions/runs/25018081082/workflow#L87
And the branch I use to store reports: https://github.com/alxgomz/alfresco-helm-charts/tree/_xml_coverage_reports

Am I doing something wrong?

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions