Open AndrewDryga opened 8 years ago
this does not relate to coveralls, I use it in travis and gitlab-cli without any issue.
check you mix project settings and check that you have
preferred_cli_env: [
"coveralls": :test, "coveralls.detail": :test,
"coveralls.post": :test, "coveralls.html": :test
]
I'm running into this as well with the following config
def project do
[
app: :my_app,
version: "0.0.1",
elixir: "~> 1.7.3",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
name: "MyApp",
source_url: "https://repo.example/myrepo",
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
and the following error
16:03:19.027 [error] GenServer MyApp.MyModule.MyGenserver terminating
** (DBConnection.OwnershipError) cannot find ownership process for #PID<0.709.0>.
Is there any way to turn SQL Sandbox Mode on when running coveralls? (We use it on Travis-CI.)