File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,12 @@ jobs:
2020 ref : ${{ github.head_ref }}
2121 fetch-depth : 0
2222
23- # Only run Google Cloud authentication and integration tests for pushes to main
2423 - name : Authenticate to Google Cloud
25- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
2624 uses : google-github-actions/auth@v1
2725 with :
2826 workload_identity_provider : ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
2927
3028 - name : Set up gcloud (for KMS client lib to auth)
31- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
3229 uses : google-github-actions/setup-gcloud@v1
3330 with :
3431 project_id : courtyard-frontend
5552 TEST_KMS_KEY_NAME : ${{ secrets.KMS_KEY_NAME }}
5653 run : go test -v -timeout 120s ./... -short
5754
58- # Only run integration tests for pushes to main
5955 - name : Run integration tests
60- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
6156 env :
6257 GOOGLE_CLOUD_PROJECT : courtyard-frontend
6358 TEST_KMS_KEY_NAME : ${{ secrets.KMS_KEY_NAME }}
You can’t perform that action at this time.
0 commit comments