From 364fd5e17ffac8835688c64210c91184e8ca9c8a Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Fri, 15 Nov 2024 11:58:28 -0800 Subject: [PATCH] infra: release standard test case (#28140) --- .github/workflows/_release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index bf0c1e0454f20..6dcbfcda11043 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -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))"