This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ jobs:
230230 poetry run python tests/integration/integration_tests.py
231231
232232 - name : Print the CodeGate container logs
233- if : success() || failure ()
233+ if : always ()
234234 run : |
235235 docker logs $CODEGATE_CONTAINER_NAME
236236 echo "Models contents:"
@@ -244,11 +244,17 @@ jobs:
244244 docker exec $CODEGATE_CONTAINER_NAME ls -la /app/codegate_volume/db
245245
246246 - name : Print the vllm container logs (vllm-only)
247- if : (success() || failure()) && ${{ matrix.test-provider == 'vllm' }} # This is only needed for VLLM
247+ if : always()
248248 run : |
249- docker logs vllm
250-
249+ if ${{ matrix.test-provider == 'vllm' }}; then
250+ docker logs vllm
251+ else
252+ echo "Skipping vllm logs, as this is not a VLLM test"
253+ fi
251254 - name : Print the Ollama container logs (ollama-only)
252- if : (success() || failure()) && ${{ matrix.test-provider == 'ollama' }} # This is only needed for Ollama
253- run : |
254- docker logs ollama
255+ if : always()
256+ if ${{ matrix.test-provider == 'ollama' }}; then
257+ docker logs ollama
258+ else
259+ echo "Skipping Ollama logs, as this is not an Ollama test"
260+ fi
You can’t perform that action at this time.
0 commit comments