From f055f2a1e3580f6a4a62d825c686b0b299c81007 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:17:43 -0700 Subject: [PATCH] infra: install integration deps as needed (#23413) --- .github/workflows/_release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 85a79b22997..f604f8209ea 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: