mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-29 09:58:44 +00:00
infra: install integration deps as needed (#23413)
This commit is contained in:
parent
92ac0fc9bd
commit
f055f2a1e3
6
.github/workflows/_release.yml
vendored
6
.github/workflows/_release.yml
vendored
@ -202,7 +202,7 @@ jobs:
|
|||||||
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"
|
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"
|
||||||
|
|
||||||
- name: Import test dependencies
|
- name: Import test dependencies
|
||||||
run: poetry install --with test,test_integration
|
run: poetry install --with test
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
|
||||||
# Overwrite the local version of the package with the test PyPI version.
|
# Overwrite the local version of the package with the test PyPI version.
|
||||||
@ -245,6 +245,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
|
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
|
||||||
|
|
||||||
|
- name: Import integration test dependencies
|
||||||
|
run: poetry install --with test,test_integration
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}
|
if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user