mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-27 19:46:55 +00:00
infra: run old standard-tests on core releases (#30852)
On core releases, we check out the latest published package for langchain-openai and langchain-anthropic and run their tests against the candidate version of langchain-core. Because these packages have a local install of langchain-tests, we also need to check out the previous version of langchain-tests.
This commit is contained in:
parent
1f5e207379
commit
c6a8663afb
7
.github/workflows/_release.yml
vendored
7
.github/workflows/_release.yml
vendored
@ -395,8 +395,11 @@ jobs:
|
|||||||
|
|
||||||
# Checkout the latest package files
|
# Checkout the latest package files
|
||||||
rm -rf $GITHUB_WORKSPACE/libs/partners/${{ matrix.partner }}/*
|
rm -rf $GITHUB_WORKSPACE/libs/partners/${{ matrix.partner }}/*
|
||||||
cd $GITHUB_WORKSPACE/libs/partners/${{ matrix.partner }}
|
rm -rf $GITHUB_WORKSPACE/libs/standard-tests/*
|
||||||
git checkout "$LATEST_PACKAGE_TAG" -- .
|
cd $GITHUB_WORKSPACE/libs/
|
||||||
|
git checkout "$LATEST_PACKAGE_TAG" -- standard-tests/
|
||||||
|
git checkout "$LATEST_PACKAGE_TAG" -- partners/${{ matrix.partner }}/
|
||||||
|
cd partners/${{ matrix.partner }}
|
||||||
|
|
||||||
# Print as a sanity check
|
# Print as a sanity check
|
||||||
echo "Version number from pyproject.toml: "
|
echo "Version number from pyproject.toml: "
|
||||||
|
Loading…
Reference in New Issue
Block a user