From 46c6f43f3ec54779b81f3e3a588acb5596c45233 Mon Sep 17 00:00:00 2001 From: Peter Solnica Date: Mon, 14 Oct 2024 11:04:10 +0200 Subject: [PATCH] Update mix.exs Co-authored-by: Andrea Leopardi --- mix.exs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 8298647d..7431b8d6 100644 --- a/mix.exs +++ b/mix.exs @@ -153,8 +153,9 @@ defmodule Sentry.Mixfile do integration_dir = Path.join("test_integrations", integration) {_, status} = - System.cmd("sh", ["-c", "cd #{integration_dir} && mix test #{Enum.join(args, " ")}"], - into: IO.binstream(:stdio, :line) + System.cmd("mix", ["test" | args], + into: IO.binstream(:stdio, :line), + cd: Path.join("test_integrations", integration) ) if status > 0 do