Open Ch4s3 opened 7 years ago
Is anyone else still interested in this?
Hi!
You can use the following .coveralls.json
config:
{
"skip_files": [
"lib/co2_offset.ex",
"lib/co2_offset/application.ex",
"lib/co2_offset/repo.ex",
"lib/co2_offset_web.ex",
"lib/co2_offset_web/endpoint.ex",
"lib/co2_offset_web/gettext.ex",
"lib/co2_offset_web/router.ex",
"lib/co2_offset_web/channels/application_socket.ex",
"lib/co2_offset_web/views/error_view.ex",
"lib/mix/tasks",
"test"
]
}
Replace co2_offset
with your project name :)
I'm trying to figure out which files should be ignored that are generated by Phoenix. Does anyone have a list of files that can safely be ignored?
It would be nice to be able to add a quick
coveralls.json
generation task that would ignore files that you don't need to explicitly test in a web app with Phoenix.