Skip to content

Commit 0f553cd

Browse files
committed
x
1 parent 927b252 commit 0f553cd

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/scheduled_test.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ jobs:
9292

9393
- name: Set up Python ${{ matrix.python-version }} + uv
9494
if: "!contains(env.POETRY_LIBS, matrix.working-directory)"
95-
uses: "./langchain/.github/actions/uv_setup"
96-
working-directory: langchain
95+
uses: "${{ github.workspace }}/langchain/.github/actions/uv_setup"
9796
with:
9897
python-version: ${{ matrix.python-version }}
9998

@@ -121,7 +120,7 @@ jobs:
121120
if: "!contains(env.POETRY_LIBS, matrix.working-directory)"
122121
run: |
123122
echo "Running scheduled tests, installing dependencies with uv..."
124-
cd langchain/${{ matrix.working-directory }}
123+
cd ${{ matrix.working-directory }}
125124
uv sync --group test --group test_integration
126125
127126
- name: Run integration tests
@@ -146,7 +145,11 @@ jobs:
146145
GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}
147146
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
148147
run: |
149-
cd langchain/${{ matrix.working-directory }}
148+
if [[ "${{ contains(env.POETRY_LIBS, matrix.working-directory) }}" == "true" ]]; then
149+
cd langchain/${{ matrix.working-directory }}
150+
else
151+
cd ${{ matrix.working-directory }}
152+
fi
150153
make integration_tests
151154
152155
- name: Remove external libraries
@@ -157,8 +160,12 @@ jobs:
157160
langchain/libs/partners/aws
158161
159162
- name: Ensure the tests did not create any additional files
160-
working-directory: langchain
161163
run: |
164+
if [[ "${{ contains(env.POETRY_LIBS, matrix.working-directory) }}" == "true" ]]; then
165+
cd langchain/${{ matrix.working-directory }}
166+
else
167+
cd ${{ matrix.working-directory }}
168+
fi
162169
set -eu
163170
164171
STATUS="$(git status)"

0 commit comments

Comments
 (0)