Skip tests on MacOS/Darwin that have always failed
This commit is contained in:
parent
012ab87605
commit
e44f6a2ab3
3 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue