infra: release standard test case (#28140)

This commit is contained in:
Erick Friis 2024-11-15 11:58:28 -08:00 committed by GitHub
parent 6d2004ee7d
commit 364fd5e17f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,7 +219,11 @@ jobs:
# Replace all dashes in the package name with underscores,
# since that's how Python imports packages with dashes in the name.
if [ "$PKG_NAME" == "langchain-tests" ]; then
IMPORT_NAME="langchain_standard_tests"
else
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
fi
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"