Commit graph

4 commits

Author SHA1 Message Date
Claude
81fbbac1f6
feat(ci): use lthn/build:php container image
Replace setup-php action with pre-built lthn/build:php-* container
images. Eliminates ~50s PHP setup overhead per matrix job.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:45:43 +00:00
Claude
b2692e27fe
fix: clone path dependencies using runner token on CI
Use GITHUB_TOKEN to clone sister packages (host-uk/core, etc.) that are
referenced as path repositories in composer.json. These packages aren't
on Packagist so CI needs to clone them alongside the main repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 04:56:56 +00:00
Claude
d231c72661
fix: make reusable workflow resilient to missing test runners
Detect whether pest, phpunit, or pint are installed before running them.
Repos without test runners will skip gracefully instead of failing with
"No such file or directory".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 04:55:04 +00:00
Claude
9604b08d61
ci: add reusable PHP test workflow for Forgejo Actions
Callable from any core/php-* repo:
  uses: core/php/.forgejo/workflows/php-test.yml@main

Inputs: php-version (JSON array), extensions, coverage, pint.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-23 01:20:35 +00:00