mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-22 10:59:22 +00:00
infra: release standard test case (#28140)
This commit is contained in:
parent
6d2004ee7d
commit
364fd5e17f
6
.github/workflows/_release.yml
vendored
6
.github/workflows/_release.yml
vendored
@ -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.
|
||||
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
|
||||
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))"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user