network debug

This commit is contained in:
Xi Yan 2025-01-17 23:35:58 -08:00
parent 5c1ecc9ff5
commit b471e73d9d

View file

@ -111,13 +111,14 @@ jobs:
- name: Run simple models list test on docker server
run: |
curl http://localhost:8321/v1/models/list
curl http://localhost:8321/v1/models
# TODO: figure out why client cannot find server but curl works
- name: Run pytest on docker server
run: |
pip install pytest pytest-md-report
LLAMA_STACK_BASE_URL="http://0.0.0.0:8321" pytest -v tests/client-sdk/inference/test_inference.py --md-report --md-report-verbose=1
export LLAMA_STACK_BASE_URL="http://localhost:8321"
LLAMA_STACK_BASE_URL="http://localhost:8321" pytest -v tests/client-sdk/inference/test_inference.py --md-report --md-report-verbose=1
# - name: Push to dockerhub
# run: |