CI Workflow
Goal
Validate the repository using the commands that currently back GitHub Actions for this template.
Full Verification Stack
Run the relevant subset for the change. For application code, default to the full stack:
make composer-validate
make check-requirements
make check-security
make phpcsfixer
make psalm
make psalm-security
make phpinsights
make deptrac
make setup-test-db
make unit-tests
make integration-tests
make behat
make infection
make generate-openapi-spec
make generate-graphql-spec
Rules
- Prefer
maketargets. - If a command needs the PHP container, do not bypass Docker wrappers.
- Do not lower thresholds in
phpinsights.php. - Do not loosen Deptrac rules in
deptrac.yaml. - Do not weaken coverage or mutation settings just to make the job pass.
Common Failure Routing
make phpcsfixeror style drift: fix formatting, then rerun the stack.make psalmormake psalm-security: fix types or taint issues in code.make phpinsights: usecomplexity-management.make deptrac: usedeptrac-fixer.make unit-tests/make integration-tests/make behat/make infection: usetesting-workflow.- Spec drift after API change: use
openapi-development.
Minimum Close-Out
Before marking a code change complete, confirm:
- relevant checks pass locally, or
- you explicitly state what could not be run and why, and
- the remaining validation is delegated to GitHub Actions.