diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 80e7088e..41a558a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -134,14 +134,16 @@ jobs: echo "Generated AWS configuration..." cat ${GITHUB_WORKSPACE}/.aws/configuration /scripts/run_fake_remote_file_servers.sh . # launch the servers in the background - # For integration tests on GCS we use a real Google account - # Retrieve the Google credentials through "Workload Identity Federation" - # see https://github.com/google-github-actions/auth?tab=readme-ov-file#workload-identity-federation-through-a-service-account - - uses: google-github-actions/auth@v2 + - name: Authenticate to GCP using "Workload Identity Federation" + # For integration tests on GCS we use a real Google account + # Retrieve the Google credentials through "Workload Identity Federation" + # see https://github.com/google-github-actions/auth?tab=readme-ov-file#workload-identity-federation-through-a-service-account + uses: google-github-actions/auth@v2 with: service_account: khiops-gcs-driver-test-sa@ino-olr-dak-ideal-sbx.iam.gserviceaccount.com workload_identity_provider: projects/322269704080/locations/global/workloadIdentityPools/github/providers/my-repo - token_format: access_token + create_credentials_file: true # true by default but let's make if explicit + activate_credentials_file: true - name: Run Unit & Integration Tests env: KHIOPS_SAMPLES_DIR: ${{ github.workspace }}/khiops-samples