Description
Create .github/workflows/test.yml that runs npm test on Node 18 and Node 20 for every pull_request and push to main. Must use the mock layer exclusively — no GitHub token required. Report test results as a PR check.
Acceptance Criteria
Milestone Context
|
|
| Milestone |
v6 — Local Testing & Simulation Framework |
| Phase |
Phase 50: CI Integration & Coverage |
| GSD Route |
quick |
| Phase Position |
Phase 4 of 4 in milestone |
Milestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Wire the test suite into CI, enforce coverage thresholds, and add a local test helper so contributors can run the full suite in one step.
Dependencies
write-scenario-tests-for-mgwsync-drift-detection
Scope Hints
- Estimated route:
quick
- Labels: testing,ci
Description
Create .github/workflows/test.yml that runs npm test on Node 18 and Node 20 for every pull_request and push to main. Must use the mock layer exclusively — no GitHub token required. Report test results as a PR check.
Acceptance Criteria
Milestone Context
quickMilestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Wire the test suite into CI, enforce coverage thresholds, and add a local test helper so contributors can run the full suite in one step.
Dependencies
write-scenario-tests-for-mgwsync-drift-detection
Scope Hints
quick