Skip to content

Commit 58adbd4

Browse files
committed
Simplify mix.exs
1 parent 2667628 commit 58adbd4

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

mix.exs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,9 @@ defmodule Sentry.Mixfile do
134134
]
135135
end
136136

137-
defp run_integration_tests_if_supported(_args) do
137+
defp run_integration_tests_if_supported(args) do
138138
if Version.match?(System.version(), ">= 1.16.0") do
139-
Mix.Task.run("test.integrations")
140-
else
141-
IO.puts("Skipping integration tests for Elixir versions < 1.16")
142-
end
143-
end
144-
145-
@integrations [
146-
"phoenix_app"
147-
]
148-
149-
defp test_integrations(args) do
150-
if Version.match?(System.version(), ">= 1.16.0") do
151-
for integration <- @integrations do
152-
run_integration_tests(integration, args)
153-
end
139+
run_integration_tests("phoenix_app", args)
154140
else
155141
IO.puts("Skipping integration tests for Elixir versions < 1.16")
156142
end

0 commit comments

Comments
 (0)