Skip to content

The agent engineering platform.

infra: install integration deps as needed (#23413)

Bagaturf055f2a1e358
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml
index 85a79b2299..f604f8209e 100644
--- a/.github/workflows/_release.yml
+++ b/.github/workflows/_release.yml
@@ -202,7 +202,7 @@ jobs:
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"
- name: Import test dependencies
- run: poetry install --with test,test_integration
+ run: poetry install --with test
working-directory: ${{ inputs.working-directory }}
# Overwrite the local version of the package with the test PyPI version.
@@ -245,6 +245,10 @@ jobs:
with:
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
if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}
env: