Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,24 @@ jobs:

- run: make minio
if: env.MIX_ENV == 'test'
- run: mix test --include slow --include minio --include migrations --include kaffy_quirks --max-failures 1 --warnings-as-errors --partitions 6
- run: |
mix test --include slow --include minio --include migrations --max-failures 1 --warnings-as-errors --partitions 6 | tee test_output.log
if grep -E '\.+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3} \[[^]]+\]' test_output.log; then
echo "The tests are prodcuing output, this usually indicates some error"
exit 1
fi
if: env.MIX_ENV == 'test'
env:
MINIO_HOST_FOR_CLICKHOUSE: "172.17.0.1"
MIX_TEST_PARTITION: ${{ matrix.mix_test_partition }}

- run: mix test --include slow --include migrations --max-failures 1 --warnings-as-errors --partitions 4

- run: |
mix test --include slow --include migrations --max-failures 1 --warnings-as-errors --partitions 4 | tee test_output.log
if grep -E '\.+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3} \[[^]]+\]' test_output.log; then
echo "The tests are prodcuing output, this usually indicates some error"
exit 1
fi
if: env.MIX_ENV == 'ce_test'
env:
MIX_TEST_PARTITION: ${{ matrix.mix_test_partition }}
Expand Down
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config :bcrypt_elixir, :log_rounds, 4

config :plausible, Plausible.Repo,
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
pool_size: System.schedulers_online() * 3

config :plausible, Plausible.ClickhouseRepo,
loggers: [Ecto.LogEntry],
Expand Down
Loading