File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed
Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,12 @@ tasks:
205205 - func : " setup remote atlas"
206206 - func : " execute tests"
207207
208+ - name : test-langchaingo-local
209+ tags : [local]
210+ commands :
211+ - func : " fetch repo"
212+ - func : " execute tests"
213+
208214buildvariants :
209215 - name : test-llama-index-kvstore-rhel
210216 # TODO - Maintainer has pushed back on this.
@@ -317,3 +323,12 @@ buildvariants:
317323 - name : test-haystack-fulltext-local
318324 # TODO: INTPYTHON-465
319325 # - 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}
2121if [ -d " patches" ]; then
2222 cd ${REPO_NAME}
2323 echo " Applying patches."
24- git apply ../patches/*
24+ git apply ../patches/*
2525fi
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