Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ tasks:
- func: "setup remote atlas"
- func: "execute tests"

- name: test-langchaingo-local
tags: [local]
commands:
- func: "fetch repo"
- func: "execute tests"

buildvariants:
- name: test-llama-index-kvstore-rhel
# TODO - Maintainer has pushed back on this.
Expand Down Expand Up @@ -317,3 +323,12 @@ buildvariants:
- name: test-haystack-fulltext-local
# TODO: INTPYTHON-465
# - name: test-haystack-fulltext-remote

- name: test-langchaingo-ubuntu
display_name: LangchainGo Ubuntu2204
expansions:
DIR: langchaingo-golang
run_on:
- ubuntu2204-small
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come you've changed the host? It was a set and forget thing. Does rhel87-small not have your go version? Should we consider updating all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests rely on docker, which isn't available on the RHEL hosts.

tasks:
- name: test-langchaingo-local
2 changes: 1 addition & 1 deletion .evergreen/fetch-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ git clone ${CLONE_URL}
if [ -d "patches" ]; then
cd ${REPO_NAME}
echo "Applying patches."
git apply ../patches/*
git apply ../patches/*
fi
2 changes: 2 additions & 0 deletions langchaingo-golang/config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REPO_NAME=langchaingo
CLONE_URL=" -b GODRIVER-3345 --single-branch https://github.com/prestonvasquez/langchaingo.git"
12 changes: 12 additions & 0 deletions langchaingo-golang/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -eu

GO_VERSION="go1.22"

cd vectorstores/mongovector

export PATH="$PATH:/opt/golang/$GO_VERSION/bin"
export GOROOT="/opt/golang/$GO_VERSION"

go test -v -failfast -race -shuffle=on
Loading