Skip to content

Commit 308c557

Browse files
committed
test(*):test cloudbuild run
1 parent 84db018 commit 308c557

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- workflow_dispatch:
77
inputs:
88
run_integration_tests:
9-
description: 'Run Cloud Build integration tests'
9+
description: "Run Cloud Build integration tests"
1010
required: false
1111
default: false
1212
type: boolean
@@ -76,13 +76,17 @@ jobs:
7676
cloud-build-integration:
7777
needs: "unit"
7878
runs-on: ubuntu-latest
79-
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.event.pull_request.base.ref == 'master' || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_integration_tests == 'true')
79+
# if: github.event_name == 'pull_request' && github.event.pull_request.draft == false && (github.event.pull_request.base.ref == 'master')
8080
steps:
8181
- uses: actions/checkout@v1
8282
- uses: google-github-actions/auth@v0
8383
with:
8484
credentials_json: "${{ secrets.CF3_INTEGRATION_TEST_GOOGLE_CREDENTIALS }}"
8585
create_credentials_file: true
86+
- name: "Setup Google Cloud SDK"
87+
uses: google-github-actions/setup-gcloud@v0
88+
with:
89+
version: "latest"
8690
- name: "Run Cloud Build Integration Tests"
8791
run: |
8892
cd integration_test

0 commit comments

Comments
 (0)