Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Add invert match for gcov ignore switch. #35

Closed

Description

I'm working with a frontend to a much, much larger project. However both must be built together.

After finishing the build with --coverage this leaves over 900 gcov files that get picked up by the codecov script. However only less than 150 of them are relevant to my project. This results in almost 800 files being scanned, uploaded, then discarded post upload as they don't exist in the repository.

Would it be possible to add the inverse to -g for paths to filter for gcov? Such as -G, which would mean that only files paths that match the given expression get scanned.

This would speed up the collection + upload times from hours to minutes. For instance, see here where the first is 8MB, while the other is over 100MB!
https://codecov.io/gh/ibuclaw/GDC/commit/9225c1b868bbf456d19a5ac27796ec12bedc0348/builds

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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