-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INTPYTHON-427 Add langgraph to ai-ml-testing pipeline
- Loading branch information
Showing
3 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# WORKING_DIR = src/langchain-python/langchain | ||
set -eu | ||
|
||
# Get the MONGODB_URI and OPENAI_API_KEY. | ||
# shellcheck disable=SC2154 | ||
. $workdir/src/env.sh | ||
|
||
# shellcheck disable=SC2154 | ||
. $workdir/src/.evergreen/utils.sh | ||
|
||
PYTHON_BINARY=$(find_python3) | ||
|
||
# shellcheck disable=SC2164 | ||
cd libs/langgraph-checkpoint-mongodb | ||
|
||
$PYTHON_BINARY -m venv venv_pipeline | ||
source venv_pipeline/bin/activate | ||
|
||
pip install poetry | ||
|
||
poetry lock --no-update | ||
|
||
poetry install --with dev | ||
|
||
export MONGODB_URI=$MONGODB_URI | ||
export OPENAI_API_KEY=$OPENAI_API_KEY | ||
|
||
make test | ||
|
||
make integration_test |