mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-23 11:32:10 +00:00
infra: release standard test case (#28140)
This commit is contained in:
parent
6d2004ee7d
commit
364fd5e17f
4
.github/workflows/_release.yml
vendored
4
.github/workflows/_release.yml
vendored
@ -219,7 +219,11 @@ jobs:
|
|||||||
|
|
||||||
# Replace all dashes in the package name with underscores,
|
# Replace all dashes in the package name with underscores,
|
||||||
# since that's how Python imports packages with dashes in the name.
|
# 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)"
|
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
|
||||||
|
fi
|
||||||
|
|
||||||
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"
|
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user