summaryrefslogtreecommitdiff
path: root/test/test_helper.exs
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-15 20:18:43 -0500
committerMark Felder <feld@feld.me>2024-01-15 20:18:43 -0500
commite44f6a2ab3c798693599044911278d9a34f8eb84 (patch)
treefca86f5e0ca415b546c43b2478df00419c9cfef1 /test/test_helper.exs
parent012ab876055e8a045952ee50d760926f88800fd7 (diff)
downloadpleroma-e44f6a2ab3c798693599044911278d9a34f8eb84.tar.gz
pleroma-e44f6a2ab3c798693599044911278d9a34f8eb84.zip
Skip tests on MacOS/Darwin that have always failed
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r--test/test_helper.exs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs
index 27b777d5f..e65f7c1d1 100644
--- a/test/test_helper.exs
+++ b/test/test_helper.exs
@@ -6,6 +6,12 @@ Code.put_compiler_option(:warnings_as_errors, true)
ExUnit.start(exclude: [:federated, :erratic])
+if match?({:unix, :darwin}, :os.type()) do
+ excluded = ExUnit.configuration() |> Keyword.get(:exclude, [])
+ excluded = excluded ++ [:skip_darwin]
+ ExUnit.configure(exclude: excluded)
+end
+
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client)