File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -284,21 +284,21 @@ jobs:
284284 \"code\" : $(echo "$GENERATE_OUTPUT" | jq -Rs .)
285285 }" || echo "CURL_FAILED")
286286
287- if [ "$COMPILE_RESPONSE" = "CURL_FAILED" ]; then
288- echo "Failed to connect to API service"
289- docker ps
290- exit 1
291- fi
292-
293- # Check for success in response
294- if ! echo "$COMPILE_RESPONSE" | jq -e '.success == true' > /dev/null; then
295- echo "Compilation failed:"
296- echo "$COMPILE_RESPONSE" | jq || echo "$COMPILE_RESPONSE"
297- exit 1
298- fi
299-
300- echo "Workflow test successful! Generated code compiles correctly."
301- echo "$COMPILE_RESPONSE" | jq || echo "$COMPILE_RESPONSE"
287+ if [ "$COMPILE_RESPONSE" = "CURL_FAILED" ]; then
288+ echo "Failed to connect to API service"
289+ docker ps
290+ exit 1
291+ fi
292+
293+ # Check for success in response
294+ if ! echo "$COMPILE_RESPONSE" | jq -e '.success == true' > /dev/null; then
295+ echo "Compilation failed:"
296+ echo "$COMPILE_RESPONSE" | jq || echo "$COMPILE_RESPONSE"
297+ exit 1
298+ fi
299+
300+ echo "Workflow test successful! Generated code compiles correctly."
301+ echo "$COMPILE_RESPONSE" | jq || echo "$COMPILE_RESPONSE"
302302
303303 - name : Test basic API endpoints (non-LLM)
304304 run : |
You can’t perform that action at this time.
0 commit comments