Skip to content

Commit 46c6f43

Browse files
solnicwhatyouhide
andauthored
Update mix.exs
Co-authored-by: Andrea Leopardi <[email protected]>
1 parent ac1b4af commit 46c6f43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mix.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ defmodule Sentry.Mixfile do
153153
integration_dir = Path.join("test_integrations", integration)
154154

155155
{_, status} =
156-
System.cmd("sh", ["-c", "cd #{integration_dir} && mix test #{Enum.join(args, " ")}"],
157-
into: IO.binstream(:stdio, :line)
156+
System.cmd("mix", ["test" | args],
157+
into: IO.binstream(:stdio, :line),
158+
cd: Path.join("test_integrations", integration)
158159
)
159160

160161
if status > 0 do

0 commit comments

Comments
 (0)