File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -356,31 +356,6 @@ jobs:
356356 python -m pytest test_main.py::TestQuizEndpoint::test_quiz_success -v
357357 python -m pytest test_main.py::TestFlashcardEndpoint::test_flashcard_success -v
358358
359- - name : Test end-to-end AI workflow
360- run : |
361- # Test document loading
362- DOCUMENT_RESPONSE=$(curl -X POST http://localhost:8081/document \
363- -H "Content-Type: application/json" \
364- -d '{"user_id":"test-user","document_name":"test.pdf","document_base64":"dGVzdCBjb250ZW50"}' \
365- -s)
366-
367- echo "Document response: $DOCUMENT_RESPONSE"
368-
369- # Test chat functionality
370- CHAT_RESPONSE=$(curl -X POST http://localhost:8081/chat \
371- -H "Content-Type: application/json" \
372- -d '{"user_id":"test-user","message":"Hello, how are you?"}' \
373- -s)
374-
375- echo "Chat response: $CHAT_RESPONSE"
376-
377- # Test summary generation
378- SUMMARY_RESPONSE=$(curl -X POST http://localhost:8081/summary \
379- -H "Content-Type: application/json" \
380- -d '{"user_id":"test-user","document_name":"test.pdf"}' \
381- -s)
382-
383- echo "Summary response: $SUMMARY_RESPONSE"
384359
385360 - name : Cleanup
386361 if : always()
You can’t perform that action at this time.
0 commit comments