Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
# Laravel 12 requires PHP 8.2+
- php: '8.2'
laravel: '12'
include:
# Pin orchestra/testbench to the major matching each Laravel version
# (8 -> Laravel 10, 9 -> 11, 10 -> 12) so resolution doesn't pull
# testbench 10 (which requires Laravel 12) onto the 10/11 jobs.
- laravel: '10'
testbench: '8'
- laravel: '11'
testbench: '9'
- laravel: '12'
testbench: '10'

name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }}

Expand All @@ -40,7 +50,10 @@ jobs:

- name: Install dependencies
run: |
composer update --with "illuminate/support:^${{ matrix.laravel }}.0" --with "illuminate/view:^${{ matrix.laravel }}.0" --with "illuminate/contracts:^${{ matrix.laravel }}.0" --no-interaction --prefer-dist
# EOL Laravel 10/11 pull in advisory-affected framework deps; this is a compat
# test matrix (those deps aren't shipped by this package), so don't block on them.
composer config --no-plugins policy.advisories.block false
composer update --with "illuminate/support:^${{ matrix.laravel }}.0" --with "illuminate/view:^${{ matrix.laravel }}.0" --with "illuminate/contracts:^${{ matrix.laravel }}.0" --with "orchestra/testbench:^${{ matrix.testbench }}.0" --no-interaction --prefer-dist

- name: Run tests
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"illuminate/support": "^10.0|^11.0|^12.0",
"illuminate/view": "^10.0|^11.0|^12.0",
"illuminate/contracts": "^10.0|^11.0|^12.0",
"fastcomments/fastcomments-php": "*",
"fastcomments/fastcomments-php": "^3.0",
"fastcomments/sso": "*"
},
"require-dev": {
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading