diff options
| author | Christian Cleberg <[email protected]> | 2026-07-20 17:50:56 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-20 17:55:24 -0500 |
| commit | 1e25fb947d3c01fc983b481fff5b064ed82349ab (patch) | |
| tree | ad69f714e93dc3228131f0221f297fad53e00e6a /DomainDigShareExtension | |
| parent | ea57052e998007dc914257f84f383c63f945cf08 (diff) | |
| download | domain-dig-1e25fb947d3c01fc983b481fff5b064ed82349ab.tar.gz domain-dig-1e25fb947d3c01fc983b481fff5b064ed82349ab.tar.bz2 domain-dig-1e25fb947d3c01fc983b481fff5b064ed82349ab.zip | |
ci: split accessibility coverage between local runtimes and CI
The two-job CI matrix was buying two near-identical iOS 26.x runs at
double the macOS minutes. GitHub's macos-26 image ships only 26.x
simulator runtimes, so it cannot test the 17.6 floor at all, and floor
coverage was the entire justification for the second job.
Split the work by what each side can uniquely do instead:
CI keeps one job on the newest runtime. Its real value is not the
runtime — it is building a clean checkout of the merge result, which
catches a file that was never committed. A local run cannot, and that
failure mode is live here: DomainDig.xcodeproj is hand-edited and uses
file-system-synchronized groups, where an entire missing folder still
builds locally. sr.ht cannot run macOS, so this is the only place that
check exists. Collapsing the matrix also removed the deployment-target
math, since "newest" is always above the floor.
Scripts/audit-a11y.sh runs the audit against real runtimes, defaulting
to floor + current. It reads the deployment target from the project
rather than hard-coding it, selects the oldest runtime at or above it
(one below is useless — the app cannot install), and says so plainly
when the nearest installed runtime is a major version above the target
rather than implying floor coverage it does not have.
.githooks/pre-push runs the floor tier, and only when Swift, asset, or
project files changed. Pre-push rather than pre-commit because the suite
takes ~85s: at pre-commit that blocks every commit, and a hook routinely
bypassed with --no-verify is worse than none. Opt in per clone with
'git config core.hooksPath .githooks'.
Docs/ACCESSIBILITY.md records the split, the measured non-nested
coverage that motivates it, and the enforcement ratchet.
Diffstat (limited to 'DomainDigShareExtension')
0 files changed, 0 insertions, 0 deletions
