File tree Expand file tree Collapse file tree 4 files changed +62
-2
lines changed Expand file tree Collapse file tree 4 files changed +62
-2
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,20 @@ tasks:
133
133
- func : " setup remote atlas"
134
134
- func : " execute tests"
135
135
136
+ - name : test-langgraph-python-local
137
+ tags : [local]
138
+ commands :
139
+ - func : " fetch repo"
140
+ - func : " setup local atlas"
141
+ - func : " execute tests"
142
+
143
+ - name : test-langgraph-python-remote
144
+ tags : [remote]
145
+ commands :
146
+ - func : " fetch repo"
147
+ - func : " setup remote atlas"
148
+ - func : " execute tests"
149
+
136
150
- name : test-chatgpt-retrieval-plugin-local
137
151
tags : [local]
138
152
commands :
@@ -234,6 +248,20 @@ buildvariants:
234
248
- name : test-langchain-python-remote
235
249
batchtime : 10080 # 1 week
236
250
251
+ - name : test-langgraph-python-rhel
252
+ display_name : Langgraph RHEL Python
253
+ expansions :
254
+ DIR : langgraph-python
255
+ REPO_NAME : langchain-mongodb
256
+ CLONE_URL : https://github.com/langchain-ai/langchain-mongodb.git
257
+ DATABASE : langgraph-test
258
+ run_on :
259
+ - rhel87-small
260
+ tasks :
261
+ - name : test-langgraph-python-local
262
+ - name : test-langgraph-python-remote
263
+ batchtime : 10080 # 1 week
264
+
237
265
- name : test-chatgpt-retrieval-plugin-rhel
238
266
display_name : ChatGPT Retrieval Plugin
239
267
expansions :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ case $DIR in
19
19
semantic-kernel-csharp)
20
20
MONGODB_URI=$SEMANTIC_KERNEL_MONGODB_URI
21
21
;;
22
- langchain-python)
22
+ langchain-python | langgraph-python )
23
23
MONGODB_URI=$LANGCHAIN_MONGODB_URI
24
24
;;
25
25
chatgpt-retrieval-plugin)
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ poetry lock --no-update
24
24
25
25
poetry install --with dev
26
26
27
- export MONGODB_ATLAS_URI =$MONGODB_URI
27
+ export MONGODB_URI =$MONGODB_URI
28
28
export OPENAI_API_KEY=$OPENAI_API_KEY
29
29
30
30
make test
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # WORKING_DIR = src/langchain-python/langchain
4
+ set -eu
5
+
6
+ # Get the MONGODB_URI and OPENAI_API_KEY.
7
+ # shellcheck disable=SC2154
8
+ . $workdir /src/env.sh
9
+
10
+ # shellcheck disable=SC2154
11
+ . $workdir /src/.evergreen/utils.sh
12
+
13
+ PYTHON_BINARY=$( find_python3)
14
+
15
+ # shellcheck disable=SC2164
16
+ cd libs/langgraph-checkpoint-mongodb
17
+
18
+ $PYTHON_BINARY -m venv venv_pipeline
19
+ source venv_pipeline/bin/activate
20
+
21
+ pip install poetry
22
+
23
+ poetry lock --no-update
24
+
25
+ poetry install --with dev
26
+
27
+ export MONGODB_URI=$MONGODB_URI
28
+ export OPENAI_API_KEY=$OPENAI_API_KEY
29
+
30
+ make test
31
+
32
+ make integration_test
You can’t perform that action at this time.
0 commit comments