@@ -11,7 +11,7 @@ concurrency:
1111 cancel-in-progress : true
1212
1313env :
14- CACHE_VERSION : v15
14+ CACHE_VERSION : v17
1515 PERSISTENT_CACHE_DIR : cached
1616
1717jobs :
6363 --health-timeout 5s
6464 --health-retries 5
6565 steps :
66- - uses : actions/checkout@v5
66+ - uses : actions/checkout@v6
6767 with :
6868 fetch-depth : 0
6969
7474 elixir-version : ${{ steps.versions.outputs.elixir }}
7575 otp-version : ${{ steps.versions.outputs.erlang }}
7676
77- - uses : actions/cache@v4
77+ - uses : actions/cache@v5
7878 with :
7979 path : |
8080 deps
@@ -114,13 +114,26 @@ jobs:
114114
115115 - run : make minio
116116 if : env.MIX_ENV == 'test'
117- - run : mix test --include slow --include minio --include migrations --include kaffy_quirks --max-failures 1 --warnings-as-errors --partitions 6
117+ - run : |
118+ mix test --include slow --include minio --include migrations --max-failures 1 --warnings-as-errors --partitions 6 | tee test_output.log
119+ if grep -E '\.+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3} \[[^]]+\]' test_output.log | grep -v 'libcluster'; then
120+ echo "The tests are producing output, this usually indicates some error"
121+ exit 1
122+ fi
123+ shell: bash
118124 if: env.MIX_ENV == 'test'
119125 env:
120126 MINIO_HOST_FOR_CLICKHOUSE: "172.17.0.1"
121127 MIX_TEST_PARTITION: ${{ matrix.mix_test_partition }}
122128
123- - run : mix test --include slow --include migrations --max-failures 1 --warnings-as-errors --partitions 4
129+
130+ - run : |
131+ mix test --include slow --include migrations --max-failures 1 --warnings-as-errors --partitions 4 | tee test_output.log
132+ if grep -E '\.+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3} \[[^]]+\]' test_output.log | grep -v 'libcluster'; then
133+ echo "The tests are producing output, this usually indicates some error"
134+ exit 1
135+ fi
136+ shell: bash
124137 if: env.MIX_ENV == 'ce_test'
125138 env:
126139 MIX_TEST_PARTITION: ${{ matrix.mix_test_partition }}
@@ -131,7 +144,7 @@ jobs:
131144 MIX_ENV : test
132145 runs-on : ubuntu-latest
133146 steps :
134- - uses : actions/checkout@v5
147+ - uses : actions/checkout@v6
135148 with :
136149 fetch-depth : 0
137150
@@ -142,7 +155,7 @@ jobs:
142155 elixir-version : ${{ steps.versions.outputs.elixir }}
143156 otp-version : ${{ steps.versions.outputs.erlang }}
144157
145- - uses : actions/cache@v4
158+ - uses : actions/cache@v5
146159 with :
147160 path : |
148161 deps
0 commit comments