File tree 4 files changed +30
-1
lines changed
4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,12 @@ tasks:
205
205
- func : " setup remote atlas"
206
206
- func : " execute tests"
207
207
208
+ - name : test-langchaingo-local
209
+ tags : [local]
210
+ commands :
211
+ - func : " fetch repo"
212
+ - func : " execute tests"
213
+
208
214
buildvariants :
209
215
- name : test-llama-index-kvstore-rhel
210
216
# TODO - Maintainer has pushed back on this.
@@ -317,3 +323,12 @@ buildvariants:
317
323
- name : test-haystack-fulltext-local
318
324
# TODO: INTPYTHON-465
319
325
# - name: test-haystack-fulltext-remote
326
+
327
+ - name : test-langchaingo-ubuntu
328
+ display_name : LangchainGo Ubuntu2204
329
+ expansions :
330
+ DIR : langchaingo-golang
331
+ run_on :
332
+ - ubuntu2204-small
333
+ tasks :
334
+ - name : test-langchaingo-local
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ git clone ${CLONE_URL}
21
21
if [ -d " patches" ]; then
22
22
cd ${REPO_NAME}
23
23
echo " Applying patches."
24
- git apply ../patches/*
24
+ git apply ../patches/*
25
25
fi
Original file line number Diff line number Diff line change
1
+ REPO_NAME = langchaingo
2
+ CLONE_URL = " -b GODRIVER-3345 --single-branch https://github.com/prestonvasquez/langchaingo.git"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -eu
4
+
5
+ GO_VERSION=" go1.22"
6
+
7
+ cd vectorstores/mongovector
8
+
9
+ export PATH=" $PATH :/opt/golang/$GO_VERSION /bin"
10
+ export GOROOT=" /opt/golang/$GO_VERSION "
11
+
12
+ go test -v -failfast -race -shuffle=on
You can’t perform that action at this time.
0 commit comments