fix: server logs if error

This commit is contained in:
Zack Fu Zi Xiang 2024-12-09 21:54:47 +08:00
parent aa1285c59c
commit a4d4e71048
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View File

@ -132,6 +132,12 @@ jobs:
echo "Running tests for ${{ matrix.test_service }} with flags: ${{ matrix.test_cmd }}"
RUST_LOG="info" DISABLE_CI_TEST_LOG="true" cargo test ${{ matrix.test_cmd }}
- name: Server Logs
if: failure()
run: |
docker ps -a
docker compose -f docker-compose-ci.yml logs
- name: Docker Logs
if: always()
run: |

View File

@ -151,9 +151,6 @@ services:
context: .
dockerfile: ./admin_frontend/Dockerfile
image: appflowyinc/admin_frontend:${APPFLOWY_ADMIN_FRONTEND_VERSION:-latest}
depends_on:
appflowy_cloud:
condition: service_healthy
ports:
- 3000:3000
environment: