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:
go test -coverprofile=/tmp/coverage.out -coverpkg=./... ./...
goveralls -coverprofile=/tmp/coverage.out -service=circle-ci -repotoken=snip
Without any -ingore specified it looks like this:

Notice 16490 relevant lines?
Adding ignore like this:
goveralls -coverprofile=/tmp/coverage.out -service=circle-ci -repotoken=snip -ignore='example/*/*,example/*/*/*,integration/*,integration/*/*,codegen/testserver/*'
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
goveralls -show -service=circle-ci -repotoken=snip -ignore='example/*/*.go,example/*/*/*.go,integration/*,integration/*/*,codegen/testserver/*'

No files in the list, but same coverage.
What am I doing wrong?
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?