diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 411acf566f0..56ac94009e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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)