File tree Expand file tree Collapse file tree 3 files changed +41
-3
lines changed Expand file tree Collapse file tree 3 files changed +41
-3
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,18 @@ tasks:
245
245
commands :
246
246
- func : " fetch repo"
247
247
- func : " execute tests"
248
+ - command : attach.xunit_results
249
+ params :
250
+ file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
251
+
252
+ - name : test-langchain-js-remote
253
+ tags : [remote]
254
+ commands :
255
+ - func : " fetch repo"
256
+ - func : " execute tests"
257
+ - command : attach.xunit_results
258
+ params :
259
+ file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
248
260
249
261
buildvariants :
250
262
- name : test-semantic-kernel-python-rhel
@@ -373,4 +385,5 @@ buildvariants:
373
385
run_on :
374
386
- ubuntu2204-small
375
387
tasks :
376
- - name : test-langchain-js-local
388
+ - name : test-langchain-js-local
389
+ - name : test-langchain-js-remote
Original file line number Diff line number Diff line change 1
1
REPO_NAME = langchainjs
2
- CLONE_URL = " https://github.com/langchain-ai /langchainjs.git"
2
+ CLONE_URL = " https://github.com/baileympearson /langchainjs.git"
3
3
DATABASE = langchain_test_db
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- echo " Working!"
3
+ git branch
4
+ git switch use-local-atlas
5
+ git log -n 1
6
+
7
+ if [[ -f " env.sh" ]]; then
8
+ source env.sh
9
+ fi
10
+
11
+ # setup node, npm and yarn
12
+ export PATH=/opt/devtools/node22/bin:$PATH
13
+ export npm_config_prefix=$( pwd)
14
+ export PATH=$( pwd) /bin:$PATH
15
+ npm install --global yarn
16
+
17
+ bash ../../.evergreen/fetch-secrets.sh
18
+ source secrets-export.sh
19
+
20
+ cd libs/langchain-mongodb
21
+
22
+ yarn install
23
+ yarn build
24
+
25
+ yarn add --dev jest-junit
26
+ export JEST_JUNIT_OUTPUT_NAME=results.xml
27
+
28
+ yarn test:int --reporters=default --reporters=jest-junit
You can’t perform that action at this time.
0 commit comments