Skip to content

Commit

Permalink
Pass secret to integration test GHA (#5076)
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones authored Nov 17, 2023
1 parent 065a2d9 commit 215dc84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/it-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: it-tests

env:
GOOGLE_PROJECT_ID: data-integration-test
CLOUDSQL_SQLSERVER_PASSWORD: ${{ secrets.CLOUDSQL_SQLSERVER_PASSWORD }}

on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/populate-it-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: populate-integration-test-data

env:
GOOGLE_PROJECT_ID: data-integration-test
CLOUDSQL_SQLSERVER_PASSWORD: ${{ secrets.CLOUDSQL_SQLSERVER_PASSWORD }}

on:
workflow_dispatch # Manually triggered
Expand Down Expand Up @@ -31,3 +32,5 @@ jobs:
run: sbt "scio-google-cloud-platform/IntegrationTest/runMain com.spotify.scio.bigquery.PopulateTestData"
- name: Populate GCS test data
run: sbt "scio-test/IntegrationTest/runMain com.spotify.scio.PopulateTestData"
- name: Populate SQL test data
run: sbt "scio-jdbc/IntegrationTest/runMain com.spotify.scio.jdbc.PopulateTestData"

0 comments on commit 215dc84

Please sign in to comment.