Skip to content

How do I ignore an entire directory of files or namespace of files? #648

Discussion options

You must be logged in to vote

@BenjaminMichaelis
You are missing a little detail in your filters. They need to start with a "+" or "-".

This should work:

      - name: ReportGenerator
        uses: danielpalme/ReportGenerator-GitHub-Action@5.2.0
        with:
          reports: '**/coverage.cobertura.xml'
          targetdir: coveragereport
          reporttypes: MarkdownSummaryGithub
          classfilters: -Foo.Thing.Migrations
          filefilters: "-*Migrations*"

See also: https://reportgenerator.io/usage

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BenjaminMichaelis
Comment options

Answer selected by BenjaminMichaelis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants