run-llama / llama_deploy

Deploy your agentic worfklows to production
https://docs.llamaindex.ai/en/stable/module_guides/llama_deploy/
MIT License
1.86k stars 193 forks source link

CI: migrate end-to-end tests to pytest #316

Closed masci closed 1 month ago

masci commented 1 month ago

end-to-end tests are very handy to debug the code, but the bash logic doesn't play well with subshells (like poetry virtualenvs) and in case of errors I was left with orphan processes holding up the TCP ports needed by the core components. Leaving the core processes running forever doesn't help either, because when you change the workflow code the core components need to be rebooted.

This PR:

coveralls commented 1 month ago

Coverage Status

coverage: 66.113%. remained the same when pulling 94c9987c4fdbeedadefde3039c5dc173d02c12de on massi/e2e-pytest into 1643df0469316db775e7d5e53b04c221eb999ac7 on main.