pcbjam/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi b270507505 fix(tests): keep test-results across CI suites; loud pipeline alert
The screenshot report went silent on green CI runs. CI runs four sequential
`playwright test` invocations (wx, asyncify, kicad, perf) that all default their
outputDir to `test-results`; Playwright clears the whole outputDir at the start
of every run, so each suite wiped the previous suite's screenshots. By the time
`compare` ran, only perf-*.json remained -> all 354 baselines read as "removed"
-> the no-render guard stayed silent.

- Gate Playwright's outputDir off test-results/ in CI only
  (process.env.CI ? 'pw-artifacts/<suite>' : 'test-results') in the wx / asyncify
  / kicad configs, so the committed-baseline screenshots (page.screenshot to
  'test-results/...') accumulate in test-results/ across the suites for compare.
  Local single-suite behavior is unchanged.
- post-discord: replace the silent no-render guard with a loud, image-less
  pipeline alert ("No screenshots produced this run") when 0 render; genuine
  partial removals still post as the normal capped REMOVED list.
- gitignore pw-artifacts/; upload tests/pw-artifacts/** as a CI artifact.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 09:20:35 +02:00
..
ci-ubicloud.yml feat(tests): screenshot regression + Discord review, perf-tracked 2026-07-01 18:17:20 +02:00
deploy-demo.yml feat(standalone): demo follow-ups — waitlist, analytics, move-to-local, file tree, load progress 2026-06-27 07:59:09 +02:00
publish-libs.yml feat(deploy): publish-libs CI + full clone (C1.3) 2026-06-20 12:47:38 +02:00
release.yml perf(cdn): publish demo WASM as brotli-q11 + no-transform 2026-07-01 12:21:54 +02:00
screenshot-changelog.yml feat(tests): screenshot regression + Discord review, perf-tracked 2026-07-01 18:17:20 +02:00
wasm-build.yml fix(tests): keep test-results across CI suites; loud pipeline alert 2026-07-02 09:20:35 +02:00
wasm-opt-bench.yml ci: ephemeral Hetzner CI — full build + e2e on main push, all else dispatch-only 2026-06-11 07:50:47 +02:00