Repository navigation
49 lines (42 loc) · 1.4 KB
/
Copy pathqa.yml
File metadata and controls
49 lines (42 loc) · 1.4 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
# Every declared showcase group runs against the font-enabled native host.
name: QA
on:
pull_request:
push:
branches: [master]
workflow_dispatch:
jobs:
rendered-outcomes:
runs-on: ubicloud-standard-4
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
# The checks drive the built site, not the dev server: what ships is what
# is asked about.
- name: Build
run: bun run build
- name: Headless browser host
id: qa
uses: pathscale/chuzz/.github/actions/headless-host@master
with:
token: ${{ secrets.SIBLING_REPOS_TOKEN }}
- name: Rendered outcomes
env:
# A shared runner is slower than a laptop for outcomes that pass
# locally well inside the budget. This widens scheduling deadlines
# only; every declared transition is still required.
QA_TIMEOUT_SCALE: 2
run: |
for group in \
actions calendar coverage data-display docs feedback input \
layout navigation showcase surfaces theming unlisted
do
ps-qa --app tests/ps-qa/ps-qa.ron \
qa-hosted \
--host "${{ steps.qa.outputs.host }}" \
--page dist --checks tests/ps-qa/checks "$group"
done