Skip to content

CI: Include package assemblies in code coverage report #5

@AAulicino

Description

@AAulicino

Current issue

I'm struggling to find a way to include only this project's assemblies in the code coverage report without explicitly naming the assemblies, allowing a more generic approach.

Expected behavior

Only the assemblies from this project should be included in the code coverage report.

Current Behaviour

My last attempt was to include it via path filters. But it doesn't seem to work. It either includes everything (including Unity's built-in packages) or nothing.

assemblyFilters:+<project>;pathFilters:+**/PackageCache/${{needs.build.outputs.package-name}}*/**"

Additional information

The code for this can be found here.

More information on Unity Coverage package can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions