build(deps): bump com.google.cloud:google-cloud-shared-config from 1.12.0 to 1.12.2 in /samples/java/liquibase #1716
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
workflow_dispatch: | |
name: integration-windows | |
env: | |
GOOGLE_CLOUD_PROJECT: "span-cloud-testing" | |
GOOGLE_CLOUD_INSTANCE: "pgadapter-testing" | |
GOOGLE_CLOUD_DATABASE: "testdb_integration" | |
GOOGLE_CLOUD_ENDPOINT: "spanner.googleapis.com" | |
DOTNET_NOLOGO: true | |
jobs: | |
check-env: | |
outputs: | |
has-key: ${{ steps.project-id.outputs.defined }} | |
runs-on: ubuntu-latest | |
steps: | |
- id: project-id | |
env: | |
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} | |
if: "${{ env.GCP_PROJECT_ID != '' }}" | |
run: echo "defined=true" >> "$GITHUB_OUTPUT" | |
integration-test: | |
needs: [check-env] | |
if: needs.check-env.outputs.has-key == 'true' | |
timeout-minutes: 60 | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- run: java -version | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Auth | |
uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: ${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }} | |
- name: Run integration tests | |
run: mvn verify -B -D clirr.skip=true -D it.test=ITNpgsqlTest -D skipITs=false -D skipUnits=true -D PG_ADAPTER_INSTANCE=%GOOGLE_CLOUD_INSTANCE% -D PG_ADAPTER_DATABASE=%GOOGLE_CLOUD_DATABASE% |