File tree Expand file tree Collapse file tree 4 files changed +54
-0
lines changed
pymongo-vectorsearch-utils Expand file tree Collapse file tree 4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,20 @@ tasks:
317317 - func : " setup remote atlas"
318318 - func : " execute tests"
319319
320+ - name : test-pymongo-vectorsearch-utils-local
321+ tags : [local]
322+ commands :
323+ - func : " fetch repo"
324+ - func : " setup local atlas"
325+ - func : " execute tests"
326+
327+ - name : test-pymongo-vectorsearch-utils-remote
328+ tags : [remote]
329+ commands :
330+ - func : " fetch repo"
331+ - func : " setup remote atlas"
332+ - func : " execute tests"
333+
320334buildvariants :
321335 - name : test-semantic-kernel-python-rhel
322336 display_name : Semantic-Kernel RHEL Python
@@ -504,3 +518,14 @@ buildvariants:
504518 - name : test-mem0-python-local
505519 - name : test-mem0-python-remote
506520 batchtime : 10080 # 1 week
521+
522+ - name : test-pymongo-vectorsearch-utils-python-rhel
523+ display_name : PyMongo Vectorsearch Utils RHEL
524+ tags : [python]
525+ expansions :
526+ DIR : pymongo-vectorsearch-utils
527+ run_on :
528+ - rhel87-small
529+ tasks :
530+ - name : test-pymongo-vectorsearch-utils-local
531+ - name : test-pymongo-vectorsearch-utils-remote
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ case $DIR in
5050 mem0-python)
5151 MONGODB_URI=$MEM0_URI
5252 ;;
53+ pymongo-vectorsearch-utils)
54+ MONGODB_URI=$PYMONGO_VECTORSEARCH_UTILS_URI
55+ ;;
5356 * )
5457 echo " Missing config in setup-remote.sh for DIR: $DIR "
5558 exit 1
Original file line number Diff line number Diff line change 1+ REPO_NAME = pymongo-vectorsearch-utils
2+ REPO_ORG = mongodb-labs
3+ DATABASE = " pymongo_vectorsearch_utils_test_db"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eu
4+
5+ # Get the MONGODB_URI.
6+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
7+ ROOT_DIR=$( dirname $SCRIPT_DIR )
8+ . $ROOT_DIR /env.sh
9+
10+ . $ROOT_DIR /.evergreen/utils.sh
11+
12+ PYTHON_BINARY=$( find_python3)
13+
14+ $PYTHON_BINARY -m venv venv_pipeline
15+ source venv_pipeline/bin/activate
16+
17+ pip install uv rust-just
18+
19+ just install
20+
21+ export MONGODB_URI=$MONGODB_URI
22+
23+ just test
You can’t perform that action at this time.
0 commit comments