Stu Mason
Stu Mason

Activity

StuMason/api.rezzy.one
Rezzy
TypeScript
Pull Request Opened

PR #69 opened: Consolidate and optimize CI workflows

Summary

Consolidates the separate lint and test workflows into a single optimized CI workflow with parallel execution.

Changes

  • Merged lint.yml and tests.yml into unified ci.yml
  • Two parallel jobs: Lint and Test (run simultaneously)
  • PostgreSQL service container (matches production environment)
  • Composer dependency caching (saves ~18s per run)
  • Code coverage with 50% minimum threshold
  • HTML coverage report as artifact on PRs (7 day retention)
  • Pest parallel mode for faster test execution
  • Added TypeScript type checking to lint job

Test plan

  • Verified tests pass locally with PostgreSQL
  • Verified tests pass without frontend build
  • CI workflow will validate on this PR

Performance improvements

BeforeAfter
Sequential workflowsParallel Lint + Test jobs
SQLite for testsPostgreSQL (prod parity)
No cachingComposer caching
No coverage50% minimum + HTML report

Branch protection update needed

After merge, update branch protection required checks:

  • Lint (new job name)
  • Test (new job name)

Stu Mason + AI [email protected]

+190
additions
-122
deletions
19
files changed