Skip to content

chore: add GitHub Actions test workflow - #18

Merged
csemazharul merged 2 commits into
mainfrom
chore/add-ci-workflow
Aug 27, 2026
Merged

chore: add GitHub Actions test workflow#18
csemazharul merged 2 commits into
mainfrom
chore/add-ci-workflow

Conversation

@csemazharul

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/test.yml running on push/PR to main
  • Static checks job (PHP 8.3): composer validate, composer compat (PHPCompatibility 7.2), composer rector
  • Test job matrix on PHP 8.1 / 8.2 / 8.3 / 8.4: composer test:unit

Notes

  • composer rector currently passes only with #refactor/simplify-validator merged (rector flags 2 files on main today).
  • composer validate exits 2 on main because composer.lock content-hash is stale vs composer.json. Fix: composer update --lock and commit the lock.

Test plan

  • Static checks job green
  • Test job green on all 4 PHP versions

🤖 Generated with Claude Code

csemazharul and others added 2 commits August 27, 2026 15:43
Runs static checks (composer validate, PHPCompatibility, rector) on
PHP 8.3 and the pest suite across PHP 8.1–8.4 on push/PR to main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Point phpcs at the ruleset path directly so it works on fresh installs
(CI) without a CodeSniffer.conf registering installed_paths. Also set
testVersion to 7.4- to check PHP 7.4 and above.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@csemazharul
csemazharul merged commit a9f5980 into main Aug 27, 2026
3 of 5 checks passed
@csemazharul
csemazharul deleted the chore/add-ci-workflow branch August 27, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant