|
|
|
|
@ -20,9 +20,19 @@ jobs:
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
mix_env: ['test', 'small_test']
|
|
|
|
|
postgres_image: ['postgres:15', 'postgres:16']
|
|
|
|
|
postgres_image: ['postgres:16']
|
|
|
|
|
test_experimental_reduced_joins: '0'
|
|
|
|
|
include:
|
|
|
|
|
- mix_env: 'test'
|
|
|
|
|
postgres_image: 'postgres:15'
|
|
|
|
|
test_experimental_reduced_joins: '0'
|
|
|
|
|
- mix_env: 'test'
|
|
|
|
|
postgres_image: 'postgres:16'
|
|
|
|
|
test_experimental_reduced_joins: '1'
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
MIX_ENV: ${{ matrix.mix_env }}
|
|
|
|
|
TEST_EXPERIMENTAL_REDUCED_JOINS: ${{ matrix.test_experimental_reduced_joins }}
|
|
|
|
|
services:
|
|
|
|
|
postgres:
|
|
|
|
|
image: ${{ matrix.postgres_image }}
|
|
|
|
|
@ -132,4 +142,4 @@ jobs:
|
|
|
|
|
- run: mix format --check-formatted
|
|
|
|
|
- run: mix deps.unlock --check-unused
|
|
|
|
|
- run: mix credo diff --from-git-merge-base origin/master
|
|
|
|
|
- run: mix dialyzer
|
|
|
|
|
- run: mix dialyzer
|
|
|
|
|
|