Skip to content

ci: add GitHub Actions test workflow#18

Merged
jkbennemann merged 7 commits into
mainfrom
ci/add-github-actions-tests
Feb 12, 2026
Merged

ci: add GitHub Actions test workflow#18
jkbennemann merged 7 commits into
mainfrom
ci/add-github-actions-tests

Conversation

@jkbennemann

Copy link
Copy Markdown
Owner

Summary

  • Adds a GitHub Actions workflow that runs PestPHP tests on every push/PR to main
  • Tests across PHP 8.2, 8.3, 8.4 with Laravel 10, 11, and 12 (8 matrix combinations)
  • Excludes PHP 8.4 + Laravel 10 (unsupported by Testbench 8.x)

Follow-up

  • Configure branch protection rule on main to require status checks to pass
  • PHPStan/Pint linting can be added as separate workflows later

jakob.bennemann added 7 commits February 12, 2026 05:43
Adds a test matrix covering PHP 8.2-8.4 with Laravel 10, 11, and 12.
Excludes PHP 8.4 + Laravel 10 (unsupported by Testbench 8.x).
- Add orchestra/testbench ^10.0.0 to composer.json for Laravel 12
- Pair each Laravel version with its matching Testbench in CI matrix
  (10↔8, 11↔9, 12↔10)
- Allow pestphp/pest, pest-plugin-arch, pest-plugin-laravel v3 alongside
  v2 so Laravel 12 (which needs Pest 3.x ecosystem) can resolve
- Use --dev flag for orchestra/testbench require to keep it in require-dev
…tan 2.x

Larastan 3.x (needed for Laravel 12) requires PHPStan 2.x, which in
turn needs phpstan-phpunit ^2.0 and phpstan-deprecation-rules ^2.0.
…utes

Laravel 12 auto-registers a storage/{path} route, so assert that our
specific routes exist rather than hardcoding an exact route count.
@jkbennemann jkbennemann merged commit 556e7f4 into main Feb 12, 2026
8 checks passed
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