From 17d387470a2eda121edcc4b39efab4ec0c6f1254 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 30 Jul 2024 15:00:30 -0300 Subject: [PATCH] ci: update cli command (#3084) * chore: update pip installation command in release workflow * fix: update pip installation command in release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 411acf566..56ac94009 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)