Repository navigation
84 lines (80 loc) · 3 KB
/
Copy pathpostgresql-nightly-e2e.yml
File metadata and controls
84 lines (80 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Copyright 2021 Collate
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# On-demand PostgreSQL Playwright E2E run. Dispatch this from `main` and
# pass the release branch you want to test via `branch:`; the reusable
# will check that branch out for every test-path job (build, fixture,
# shard). The PR gate lives in `playwright-postgresql-e2e.yml`; this file
# only exists so someone can verify a specific release branch without
# opening a PR.
#
# Any change to shard planning, caching, gate rules, or the summary check
# should be made in the reusable so both callers stay aligned.
name: PostgreSQL Playwright E2E (release branch)
on:
workflow_dispatch:
inputs:
branch:
description: Release branch to check out and test against (e.g. `release-1.9`, `main`).
required: true
type: string
default: main
full_suite:
description: Run the complete duration-balanced suite
required: true
type: boolean
default: true
protocol:
description: Application protocol used by Playwright
required: true
type: choice
options:
- http
- h2
default: http
coarse_bundle:
description: Build the CI-only coarse Vite bundle
required: true
type: boolean
default: true
send_slack_notification:
description: Post the run summary to the E2E Slack channel
required: false
type: boolean
default: false
permissions:
actions: read
contents: read
pull-requests: read
jobs:
playwright:
uses: ./.github/workflows/playwright-e2e-reusable.yml
secrets: inherit
permissions:
actions: read
contents: read
pull-requests: read
checks: read
with:
database: postgresql
profile: postgresql-nightly
workflow_filename: playwright-postgresql-nightly.yml
# The branch input drives every test-path checkout inside the reusable
# (build/fixture/shard); the summary and baseline-refresh jobs
# deliberately stay on main / github.sha for security.
ref: ${{ inputs.branch }}
full_suite: ${{ inputs.full_suite }}
protocol: ${{ inputs.protocol }}
coarse_bundle: ${{ inputs.coarse_bundle }}
# Release branches accumulate flakes faster than main; give each test
# two retries instead of the config default of one.
retries: 2
send_slack_notification: ${{ inputs.send_slack_notification }}
slack_run_title: "PostgreSQL Playwright E2E on ${{ inputs.branch }}"