NimbleCSV dropping test coverage in Coveralls

Hello all,
I hope everyone is doing well.

I added version 1.2 of NimbleCSV to my dependencies, and now when I run mix coveralls it’s computing nimble_csv as my own code and code coverage is down 16% :frowning:

Does anyone have any idea why this might be happening?

image

Thanks in advance for any help!

What’s the version of elixir/erlang/excoveralls/nimble_csv?

Also could be related to

1 Like

Thanks a lot for your reply @chulkilee

I’m using Elixir 1.13.2, Erlang 24.2.1 and Nimble 1.2. Also I’m not using umbrella apps.

In the links you shared, they suggested excluding files from coveralls, I’ll do that as a last resort, but I’m trying to find a way that I don’t need to do that.

Do you create a custom NimbleCSV parser? If so that’s code generated by nimble_csv, but in your codebase. Maybe that’s the culpit here.

1 Like

I just checked and that is exactly it. Thanks a lot @LostKobrakai

So probably my best solution is just to add this module to the skip_files in the coverall.json, right?