AILIXIR Bot commited on
Commit
208a2cc
·
1 Parent(s): af773de

Auto-sync: b27c971280305231243003d06b71d3b073bc6e9c

Browse files
Files changed (1) hide show
  1. .github/workflows/e2e-md-test.yml +15 -16
.github/workflows/e2e-md-test.yml CHANGED
@@ -55,24 +55,9 @@ jobs:
55
  -e FLASK_HOST=0.0.0.0 \
56
  -e FLASK_PORT=5005 \
57
  -e MD_DATA_DIR=/app/data \
58
- -e LOG_LEVEL=DEBUG \
59
  md-simulation
60
 
61
- - name: Wait for MD Simulation API to be healthy
62
- run: |
63
- echo "Waiting for MD Simulation API to be healthy..."
64
- for i in $(seq 1 60); do
65
- if curl -sf http://localhost:5005/health > /dev/null 2>&1; then
66
- echo "MD Simulation API is healthy"
67
- exit 0
68
- fi
69
- echo "Waiting for MD API ($i/60)..."
70
- sleep 5
71
- done
72
- echo "MD API failed to start. Container logs:"
73
- docker logs md-api
74
- exit 1
75
-
76
  - name: Start Laravel API
77
  run: |
78
  docker run -d --name ailixir-laravel \
@@ -98,6 +83,20 @@ jobs:
98
  docker logs ailixir-laravel
99
  exit 1
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  - name: Run MD Simulation E2E tests
102
  run: |
103
  docker exec \
 
55
  -e FLASK_HOST=0.0.0.0 \
56
  -e FLASK_PORT=5005 \
57
  -e MD_DATA_DIR=/app/data \
58
+ -e LOG_LEVEL=INFO \
59
  md-simulation
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  - name: Start Laravel API
62
  run: |
63
  docker run -d --name ailixir-laravel \
 
83
  docker logs ailixir-laravel
84
  exit 1
85
 
86
+ - name: Wait for MD Simulation API to be healthy
87
+ run: |
88
+ echo "Waiting for MD Simulation API to be healthy..."
89
+ for i in $(seq 1 60); do
90
+ if curl -sf http://localhost:5005/health > /dev/null 2>&1; then
91
+ echo "MD Simulation API is healthy"
92
+ exit 0
93
+ fi
94
+ echo "Waiting for MD API ($i/60)..."
95
+ sleep 5
96
+ done
97
+ docker logs md-api
98
+ exit 1
99
+
100
  - name: Run MD Simulation E2E tests
101
  run: |
102
  docker exec \