Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Feb 5, 2025
1 parent 84146f3 commit 927b252
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/scheduled_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }} + uv
if: "!contains(env.POETRY_LIBS, matrix.working-directory)"
uses: "./langchain/.github/actions/uv_setup"
working-directory: langchain
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -120,7 +121,7 @@ jobs:
if: "!contains(env.POETRY_LIBS, matrix.working-directory)"
run: |
echo "Running scheduled tests, installing dependencies with uv..."
cd ${{ matrix.working-directory }}
cd langchain/${{ matrix.working-directory }}
uv sync --group test --group test_integration
- name: Run integration tests
Expand All @@ -145,11 +146,7 @@ jobs:
GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
run: |
if [[ "${{ contains(env.POETRY_LIBS, matrix.working-directory) }}" == "true" ]]; then
cd langchain/${{ matrix.working-directory }}
else
cd ${{ matrix.working-directory }}
fi
cd langchain/${{ matrix.working-directory }}
make integration_tests
- name: Remove external libraries
Expand All @@ -160,12 +157,8 @@ jobs:
langchain/libs/partners/aws
- name: Ensure the tests did not create any additional files
working-directory: langchain
run: |
if [[ "${{ contains(env.POETRY_LIBS, matrix.working-directory) }}" == "true" ]]; then
cd langchain/${{ matrix.working-directory }}
else
cd ${{ matrix.working-directory }}
fi
set -eu
STATUS="$(git status)"
Expand Down

0 comments on commit 927b252

Please sign in to comment.