Skip to content

Option to display module coverage by path instead of name due to multiple modules having same name but different paths #283

@alexandrucaraus

Description

@alexandrucaraus

As the title says need to display coverage by module path instead of name.

Currently I have the following layout:

:app

:features:feature1:ui
:features:feature1:tests

:features:feature2:ui
:features:feature2:tests

all the tests for a feature are in tests module

when I get per module coverage, the module table looks like:
Modules
tests 10%
tests 20%
would like to have
Modules
:features:feature1:tests 10%
:features:feature2:tests 20%

a flag like with_module_path: true would be nice

            -   name: Add coverage to PR
                id: androidCoverage
                uses: madrapps/jacoco-report@v1.7.2
                with:
                    paths: |
                        **/build/reports/jacoco/**/**.xml
                    with_module_path: true
                    min-coverage-overall: 80
                    min-coverage-changed-files: 80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions