ci: use uv for base install workflow (#7266)
use uv for base install workflow
This commit is contained in:
parent
58e0d4290e
commit
9bb2878760
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release_nightly.yml
vendored
4
.github/workflows/release_nightly.yml
vendored
|
|
@ -105,8 +105,8 @@ jobs:
|
|||
# TODO: Unsure why the whl is not built in src/backend/base/dist
|
||||
mkdir src/backend/base/dist
|
||||
mv dist/*.whl src/backend/base/dist/
|
||||
python -m pip install src/backend/base/dist/*.whl
|
||||
python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
|
||||
uv pip install src/backend/base/dist/*.whl
|
||||
uv run 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/auto_login; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue