docs(FN-049): add CI / Testing section to development.md and README.md

Fusion-Task-Id: FN-049
Fusion-Task-Lineage: c0c0a1bd-b925-4d84-b529-c9f9d6dde07a
This commit is contained in:
Fusion
2026-05-14 07:07:47 +02:00
parent 710621b6ba
commit 02cd75f12a
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -117,6 +117,15 @@ make test
pnpm test
```
## CI / Testing
A GitHub Actions workflow (`.github/workflows/ci.yml`) runs on every push and pull request to `main`. It executes two jobs in parallel:
- **web-ci** — checks out the repo, installs Node.js ≥ 20 and pnpm, then runs `lint`, `typecheck`, and `test` for `@headquarter/web`.
- **api-ci** — checks out the repo, sets up Python 3.11, installs API dev dependencies (`pytest`, `ruff`, `mypy`, `httpx`), starts a PostgreSQL service container, then runs `ruff check`, `mypy`, and `pytest` for the API.
The workflow reports pass/fail status directly on pull requests as required status checks. All commands must pass before a PR can be merged.
## Linting and Type Checking
### Frontend