Skip to content

Commit 6156e05

Browse files
committed
test(*): basic cloud build test
1 parent c48bd46 commit 6156e05

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,22 @@ jobs:
6666
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
6767
- run: npm ci
6868
- run: npm run test:bin
69+
cloud-build-integration:
70+
needs: "unit"
71+
runs-on: ubuntu-latest
72+
steps:
73+
- uses: actions/checkout@v1
74+
- uses: google-github-actions/auth@v0
75+
with:
76+
credentials_json: "${{ secrets.CF3_INTEGRATION_TEST_GOOGLE_CREDENTIALS }}"
77+
create_credentials_file: true
78+
- name: "Setup Google Cloud SDK"
79+
uses: google-github-actions/setup-gcloud@v0
80+
with:
81+
version: "latest"
82+
- name: "Run Cloud Build Integration Tests"
83+
run: |
84+
cd integration_test
85+
PROJECT_ID=cf3-integration-tests-v2-qa gcloud builds submit --config=cloudbuild-all.yaml --project=cf3-integration-tests-v2-qa
86+
env:
87+
PROJECT_ID: ${{ secrets.PROJECT_ID }}

0 commit comments

Comments
 (0)