Skip to content

Commit

Permalink
exclude phoenix files from test coverage #89
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jun 24, 2022
1 parent d6ab5ef commit cd6b4b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 5 additions & 1 deletion coveralls.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"skip_files": [
"test/",
"lib/app.ex",
"lib/app/application.ex",
"lib/app_web.ex",
"lib/app_web/views/error_helpers.ex"
"lib/app/repo.ex",
"lib/app_web/views/error_helpers.ex",
"lib/app_web/endpoint.ex",
"lib/app_web/telemetry.ex"
]
}
9 changes: 0 additions & 9 deletions lib/app_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,9 @@ defmodule AppWeb.Router do
plug :put_secure_browser_headers
end

pipeline :api do
plug :accepts, ["json"]
end

scope "/", AppWeb do
pipe_through :browser

get "/", PageController, :index
end

# Other scopes may use custom stacks.
# scope "/api", AppWeb do
# pipe_through :api
# end
end

0 comments on commit cd6b4b1

Please sign in to comment.