Skip to content

Commit

Permalink
Try specifying PHP in matrix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
c-tanner committed Sep 28, 2024
1 parent cb11040 commit 970ede9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/laravel-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,26 @@ jobs:
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
php: 8.1
testbench: 7.*
canvas: 7.*
phpunit: 9.*
- laravel: 10.*
php: 8.2
testbench: 8.*
canvas: 8.*
phpunit: 10.*
- laravel: 11.*
php: 8.3
testbench: 9.*
canvas: 9.*
phpunit: 11.*
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: 8.2
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"require": {
"php": "^8.2",
"php": "^8.1|^8.2",
"illuminate/support": "^9|^10|^11"
},
"minimum-stability": "dev",
Expand Down
5 changes: 0 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>

0 comments on commit 970ede9

Please sign in to comment.