Skip to content

Commit

Permalink
Added the last released versions of langchain-community to run tests (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan-sss1 authored Sep 24, 2024
1 parent 9d7d497 commit d27d1a1
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/integration_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ env:
jobs:
Setup_Pebblo_Run_Tests:
runs-on: ubuntu-latest

strategy:
matrix:
langchain-community-version: ["0.2.10", "0.2.12", "0.2.16", "0.3.0"]
python-version: ["3.10.15", "3.11.10", "3.12.6"]

name: Running tests on Python ${{ matrix.python-version }} & langchain-community ${{ matrix.langchain-community-version }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -20,7 +27,7 @@ jobs:
uses: actions/setup-python@v4
with:
ref: 'main'
python-version: ${{ env.PYTHON_VERSION }}
python-version: ${{ matrix.python-version }}

- name: Build Pebblo
run: |
Expand Down Expand Up @@ -52,7 +59,11 @@ jobs:
echo "Unexpected issue detected at server."
exit 1
fi
- name: Update requirements.txt with langchain-community version
run: |
sed -i "s/langchain-community/langchain-community==${{ matrix.langchain-community-version }}/" tests/integration/samples/requirements.txt
- name: Install Required Sample Application Dependencies
run: |
echo 'Install Sample Application dependency'
Expand All @@ -75,7 +86,7 @@ jobs:
- name: Upload Pebblo App Run Logs as Artifact
uses: actions/upload-artifact@v4
with:
name: Pebblo_Report
name: Pebblo_Report_${{ matrix.python-version }}_${{ matrix.langchain-community-version }}
path: |
/tmp/logs/pebblo.log
Expand Down

0 comments on commit d27d1a1

Please sign in to comment.