Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Add configuration for partitioned testing (#5567)
Cenk Kücükc982caab9bb2
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.ymlindex 7b4421fbac..d2c418668b 100644--- a/.github/workflows/elixir.yml+++ b/.github/workflows/elixir.yml@@ -22,10 +22,21 @@ jobs:matrix:mix_env: ["test"]postgres_image: ["postgres:15"]+ mix_test_partition: [1, 2, 3, 4, 5, 6]include:- mix_env: "ce_test"postgres_image: "postgres:16"+ mix_test_partition: 1+ - mix_env: "ce_test"+ postgres_image: "postgres:16"+ mix_test_partition: 2+ - mix_env: "ce_test"+ postgres_image: "postgres:16"+ mix_test_partition: 3+ - mix_env: "ce_test"+ postgres_image: "postgres:16"+ mix_test_partition: 4env:MIX_ENV: ${{ matrix.mix_env }}@@ -102,13 +113,16 @@ jobs:- run: make minioif: env.MIX_ENV == 'test'- - run: mix test --include slow --include minio --include migrations --include kaffy_quirks --max-failures 1 --warnings-as-errors+ - run: mix test --include slow --include minio --include migrations --include kaffy_quirks --max-failures 1 --warnings-as-errors --partitions 6if: 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+ - run: mix test --include slow --include migrations --max-failures 1 --warnings-as-errors --partitions 4if: env.MIX_ENV == 'ce_test'+ env:+ MIX_TEST_PARTITION: ${{ matrix.mix_test_partition }}static:name: Static checks (format, credo, dialyzer)