Spaces:
Sleeping
Sleeping
set -e | |
# Assert first argument is present | |
if [ -z "$1" ]; then | |
echo "Usage: bin/test-remote <remote-host>" | |
exit 1 | |
fi | |
export CHROMA_INTEGRATION_TEST_ONLY=1 | |
export CHROMA_SERVER_HOST=$1 | |
export CHROMA_API_IMPL=chromadb.api.fastapi.FastAPI | |
export CHROMA_SERVER_HTTP_PORT=8000 | |
python -m pytest | |