11name : Test Binaries
22
33on :
4-
54 pull_request :
65 branches :
76 - dev
@@ -118,11 +117,11 @@ jobs:
118117
119118 # Test if server is responding
120119 if curl -s http://localhost:8080/health > /dev/null; then
121- echo "✅ Server started successfully and is responding"
120+ echo "[PASSED] Server started successfully and is responding"
122121 kill $SERVER_PID
123122 exit 0
124123 else
125- echo "❌ Server failed to start or respond"
124+ echo "[FAILED] Server failed to start or respond"
126125 kill $SERVER_PID 2>/dev/null || true
127126 exit 1
128127 fi
@@ -151,12 +150,12 @@ jobs:
151150
152151 # Check if we got a valid response
153152 if [ -s response.json ] && grep -q "content" response.json; then
154- echo "✅ Inference test passed"
153+ echo "[PASSED] Inference test passed"
155154 cat response.json
156155 kill $SERVER_PID
157156 exit 0
158157 else
159- echo "❌ Inference test failed"
158+ echo "[FAILED] Inference test failed"
160159 cat response.json
161160 kill $SERVER_PID 2>/dev/null || true
162161 exit 1
@@ -177,11 +176,11 @@ jobs:
177176 # Test if server is responding
178177 try {
179178 $response = Invoke-RestMethod -Uri "http://localhost:8080/health" -Method Get
180- Write-Host "✅ Server started successfully and is responding"
179+ Write-Host "[PASSED] Server started successfully and is responding"
181180 Stop-Process -Name "llama-server" -Force -ErrorAction SilentlyContinue
182181 exit 0
183182 } catch {
184- Write-Host "❌ Server failed to start or respond"
183+ Write-Host "[FAILED] Server failed to start or respond"
185184 Stop-Process -Name "llama-server" -Force -ErrorAction SilentlyContinue
186185 exit 1
187186 }
@@ -208,12 +207,12 @@ jobs:
208207
209208 try {
210209 $response = Invoke-RestMethod -Uri "http://localhost:8080/completion" -Method Post -Body $body -ContentType "application/json"
211- Write-Host "✅ Inference test passed"
210+ Write-Host "[PASSED] Inference test passed"
212211 $response | ConvertTo-Json -Depth 10
213212 Stop-Process -Name "llama-server" -Force -ErrorAction SilentlyContinue
214213 exit 0
215214 } catch {
216- Write-Host "❌ Inference test failed"
215+ Write-Host "[FAILED] Inference test failed"
217216 Write-Host $_.Exception.Message
218217 Stop-Process -Name "llama-server" -Force -ErrorAction SilentlyContinue
219218 exit 1
0 commit comments