ci: update cli command (#3084)

* chore: update pip installation command in release workflow

* fix: update pip installation command in release workflow
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-30 15:00:30 -03:00 committed by GitHub
commit 17d387470a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ jobs:
- name: Test CLI
run: |
python -m pip install dist/*.whl
python -m langflow run --host 127.0.0.1 --port 7860 &
python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
SERVER_PID=$!
# Wait for the server to start
timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/health_check; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1)