Skip to content

Commit 7c8d134

Browse files
committed
chore: add wait time on test workflow
Update workflow to use 'Check and Build QA' and add wait 5mins for deployment completion
1 parent 293115d commit 7c8d134

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/test_backend.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
- "mainnet"
3030
- "preprod"
3131
workflow_run:
32-
workflows: ["Build and deploy GovTool test stack"]
32+
workflows: ["Check and Build QA"]
3333
types: [completed]
3434
branches:
3535
- test
@@ -47,6 +47,11 @@ jobs:
4747
start_time: ${{ steps.set-pending-status.outputs.timestamp }}
4848
status: ${{ steps.run-tests.outcome }}
4949
steps:
50+
- name: Wait for qa deployment to complete
51+
if: ${{ github.event_name == 'workflow_run' }}
52+
run: |
53+
echo "Waiting for the deployment to be ready..."
54+
sleep 300
5055
- name: Checkout code
5156
uses: actions/checkout@v4
5257
with:

.github/workflows/test_integration_playwright.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
- "preprod"
3232

3333
workflow_run:
34-
workflows: ["Build and deploy GovTool test stack"]
34+
workflows: ["Check and Build QA"]
3535
types: [completed]
3636
branches:
3737
- test
@@ -52,6 +52,11 @@ jobs:
5252
run:
5353
working-directory: tests/govtool-frontend/playwright
5454
steps:
55+
- name: Wait for qa deployment to complete
56+
if: ${{ github.event_name == 'workflow_run' }}
57+
run: |
58+
echo "Waiting for the deployment to be ready..."
59+
sleep 300
5560
- uses: actions/checkout@v4
5661
with:
5762
ref: ${{ env.COMMIT_SHA }}

0 commit comments

Comments
 (0)