Skip to content

Commit

Permalink
Automatically run Playwright tests on front-qa deployment (#10000)
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd authored Jan 15, 2025
1 parent 0fb73a0 commit 9a5f88a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy-front-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
enforce_main: false
regions: us-central1
working_dir: ./
run_playwright_tests: true
secrets: inherit
8 changes: 7 additions & 1 deletion .github/workflows/reusable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ on:
required: false
type: boolean
default: true
run_playwright_tests:
required: false
type: boolean
default: false
secrets:
GCLOUD_US_PROJECT_ID:
required: true
Expand Down Expand Up @@ -196,7 +200,9 @@ jobs:
component: '${{ inputs.component }}',
image_tag: '${{ needs.prepare.outputs.short_sha }}',
slack_thread_ts: "${{ needs.notify-start.outputs.thread_ts }}",
slack_channel: '${{ secrets.SLACK_CHANNEL_ID }}'
slack_channel: '${{ secrets.SLACK_CHANNEL_ID }}',
run_playwright: ${{ inputs.run_playwright_tests }},
playwright_sha: ${{ github.sha }}
}
})
Expand Down

0 comments on commit 9a5f88a

Please sign in to comment.