Skip to content

Commit

Permalink
Update mix.exs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com>
  • Loading branch information
solnic and whatyouhide authored Oct 14, 2024
1 parent ac1b4af commit 46c6f43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ defmodule Sentry.Mixfile do
integration_dir = Path.join("test_integrations", integration)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 153 in mix.exs

View workflow job for this annotation

GitHub Actions / Test (Elixir 1.13.4-otp-22, OTP 22.3.4)

variable "integration_dir" is unused (if the variable is not meant to be used, prefix it with an underscore)

{_, 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
Expand Down

0 comments on commit 46c6f43

Please sign in to comment.