mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
5de43b758d
* Set pg pool size for MIX_ENV=test
* Include slow tests in CI run
* Exclude slow tests by default
* Mark tests slow/async where applicable
* Restructure captcha mocks
* Revert async where env is relied upon
* Add --max-failures=1 to CI run
* Set warnings as errors
* Disable async where various mocks are used
* Revert "Disable async where various mocks are used"
This reverts commit 2446b72a29
.
* Disable async for test using vcr
7 lines
293 B
Elixir
7 lines
293 B
Elixir
{:ok, _} = Application.ensure_all_started(:ex_machina)
|
|
Plausible.Test.ClickhouseSetup.run()
|
|
Mox.defmock(Plausible.HTTPClient.Mock, for: Plausible.HTTPClient.Interface)
|
|
ExUnit.start(exclude: :slow)
|
|
Application.ensure_all_started(:double)
|
|
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)
|