infra: vertex integration test creds (#15609)

This commit is contained in:
Erick Friis 2024-01-05 15:03:39 -08:00 committed by GitHub
parent ebc75c5ca7
commit 1a42ad353a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,12 @@ jobs:
shell: bash shell: bash
run: poetry install --with test,test_integration run: poetry install --with test,test_integration
- name: 'Authenticate to Google Cloud'
id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Run integration tests - name: Run integration tests
shell: bash shell: bash
env: env:

View File

@ -149,6 +149,12 @@ jobs:
run: make tests run: make tests
working-directory: ${{ inputs.working-directory }} working-directory: ${{ inputs.working-directory }}
- name: 'Authenticate to Google Cloud'
id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Run integration tests - name: Run integration tests
if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }} if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}
env: env: