File tree 3 files changed +14
-3
lines changed
scripts/with_standard_tests 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ services:
139
139
- ../turbo.json:/turbo.json
140
140
- ../package.json:/package.json
141
141
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
142
+ - ../libs/langchain-google-vertexai:/libs/langchain-google-common
142
143
- ../libs/langchain-google-vertexai:/libs/langchain-google-vertexai
143
144
- ./scripts:/scripts
144
145
command : bash /scripts/with_standard_tests/google-vertexai/test-with-latest-deps.sh
@@ -153,6 +154,7 @@ services:
153
154
- ../turbo.json:/turbo.json
154
155
- ../package.json:/package.json
155
156
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
157
+ - ../libs/langchain-google-vertexai:/libs/langchain-google-common
156
158
- ../libs/langchain-google-vertexai:/libs/langchain-google-vertexai
157
159
- ./scripts:/scripts
158
160
command : bash /scripts/with_standard_tests/google-vertexai/test-with-lowest-deps.sh
Original file line number Diff line number Diff line change @@ -5,14 +5,23 @@ set -euxo pipefail
5
5
export CI=true
6
6
7
7
monorepo_dir=" /app/monorepo"
8
- monorepo_openai_dir=" /app/monorepo/libs/langchain-google-vertexai"
8
+ monorepo_vertexai_dir=" /app/monorepo/libs/langchain-google-vertexai"
9
+
10
+ original_google_common_dir=" /libs/langchain-google-common"
11
+ monorepo_google_common_dir=" /app/monorepo/libs/langchain-google-common"
12
+
9
13
updater_script_dir=" /app/updater_script"
10
14
updater_script_dir=" /app/updater_script"
11
15
original_updater_script_dir=" /scripts/with_standard_tests/google-vertexai/node"
12
16
13
17
# Run the shared script to copy all necessary folders/files
14
18
bash /scripts/with_standard_tests/shared.sh google-vertexai
15
19
20
+ # Copy `@langchain/google-common` WITH build artifacts from the host.
21
+ # This is because we built @langchain/google-common before running this script.
22
+ mkdir -p " $monorepo_google_common_dir /"
23
+ cp -r " $original_google_common_dir " /* " $monorepo_google_common_dir /"
24
+
16
25
# Copy the updater script to the monorepo
17
26
mkdir -p " $updater_script_dir "
18
27
cp " $original_updater_script_dir " /* " $updater_script_dir /"
31
40
# Navigate into `@langchain/package` to build and run tests
32
41
# We need to run inside the package directory so turbo repo does
33
42
# not try to build the package/its workspace dependencies.
34
- cd " $monorepo_openai_dir "
43
+ cd " $monorepo_vertexai_dir "
35
44
yarn test
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ shopt -s extglob
26
26
mkdir -p " $monorepo_dir "
27
27
28
28
# Copy `@langchain/standard-tests` WITH build artifacts from the host.
29
- # This is because we build @langchain/standard-tests before running this script.
29
+ # This is because we built @langchain/standard-tests before running this script.
30
30
mkdir -p " $monorepo_standard_tests_dir /"
31
31
cp -r " $original_standard_tests_dir " /* " $monorepo_standard_tests_dir /"
32
32
You can’t perform that action at this time.
0 commit comments