chore: enhance dev script robustness by determining the script directory (#19209)

This commit is contained in:
Rajhans Jadhao 2025-05-06 14:32:40 +05:30 committed by GitHub
commit 8de24bc16e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 30 additions and 0 deletions

View file

@ -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 \