Open vektah opened 5 years ago
I'm not sure yet, It seems that -ignore
option does not work expectedly.
Any update? This is blocking coverage for https://github.com/99designs/gqlgen
@vektah The ignore seems to be working correctly on goveralls's side.
From your example and checking the build history seems you tried to push the coverage on the same build number, so it's entirely possible that coveralls does not update the coverage accordingly. Subsequent builds seem to have fixed it going forward
I'm building a graphql server that generates lots of code, and the test coverage of the generated code in examples isn't particularly interesting so I want to exclude it from the reports.
What I'm currently trying:
Without any -ingore specified it looks like this:
Notice 16490 relevant lines?
Adding ignore like this:
Generates coverage like this:
Relevant lines stays the same, so the total coverage is unaffected, even though those packages have been removed.
I also tried running coveralls without a coverprofile, but it didn't seem to cover anything
No files in the list, but same coverage.
What am I doing wrong?