Populate Integration Test Data #9
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
name: Populate Integration Test Data | |
on: | |
workflow_dispatch # Manually triggered | |
jobs: | |
populate-integration-test-data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: ${{ secrets.GCP_CREDENTIALS }} | |
export_environment_variables: true | |
create_credentials_file: true | |
- uses: google-github-actions/setup-gcloud@v1 | |
- name: cache SBT | |
uses: coursier/cache-action@v6 | |
- name: Java 11 setup | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: set JVM opts | |
run: scripts/gha_setup.sh | |
env: | |
CLOUDSQL_SQLSERVER_PASSWORD: ${{ secrets.CLOUDSQL_SQLSERVER_PASSWORD }} | |
- name: Populate GCS test data | |
run: sbt "integration/runMain com.spotify.scio.PopulateTestData" | |
- name: Populate BQ test data | |
run: sbt "integration/runMain com.spotify.scio.bigquery.PopulateTestData" | |
- name: Populate SQL test data | |
run: sbt "integration/runMain com.spotify.scio.jdbc.PopulateTestData" |