No known key found for this signature in database
GPG key ID:
B5690EEEBB952194
10 changed files with
30 additions and
0 deletions
|
|
|
|
@ -2,6 +2,9 @@
|
|
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/.."
|
|
|
|
|
|
|
|
|
|
# run mypy checks
|
|
|
|
|
uv run --directory api --dev --with pip \
|
|
|
|
|
python -m mypy --install-types --non-interactive --cache-fine-grained --sqlite-cache .
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
# ModelRuntime
|
|
|
|
|
dev/pytest/pytest_model_runtime.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,7 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
pytest api/tests/artifact_tests/
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
pytest api/tests/integration_tests/model_runtime/anthropic \
|
|
|
|
|
api/tests/integration_tests/model_runtime/azure_openai \
|
|
|
|
|
api/tests/integration_tests/model_runtime/openai api/tests/integration_tests/model_runtime/chatglm \
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,7 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
pytest api/tests/integration_tests/tools
|
|
|
|
|
|
|
|
|
|
@ -1,5 +1,8 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
# libs
|
|
|
|
|
pytest api/tests/unit_tests
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
pytest api/tests/integration_tests/vdb/chroma \
|
|
|
|
|
api/tests/integration_tests/vdb/milvus \
|
|
|
|
|
api/tests/integration_tests/vdb/pgvecto_rs \
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,7 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/../.."
|
|
|
|
|
|
|
|
|
|
pytest api/tests/integration_tests/workflow
|
|
|
|
|
|
|
|
|
|
@ -2,6 +2,9 @@
|
|
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/.."
|
|
|
|
|
|
|
|
|
|
# run ruff linter
|
|
|
|
|
uv run --directory api --dev ruff check --fix ./
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6,5 +6,8 @@ if ! command -v uv &> /dev/null; then
|
|
|
|
|
pip install uv
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
cd "$SCRIPT_DIR/.."
|
|
|
|
|
|
|
|
|
|
# check uv.lock in sync with pyproject.toml
|
|
|
|
|
uv lock --project api
|
|
|
|
|
|