Skip to content
Open
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
20 changes: 13 additions & 7 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,31 @@ on:
push:
pull_request:
schedule:
- cron: '0 14 * * 3' # Run Wednesdays at 2pm EST
- cron: '0 14 * * 3'

jobs:
php-tests:
runs-on: ubuntu-latest

strategy:
matrix:
dependency-version: [ stable, lowest ]
laravel: [ ^9.50.2, 10.* ]
php: [ 8.1, 8.2 ]
dependency-version: [stable, lowest]
laravel: ['10.*', '11.0', ^9.50.2]
php: [8.1, 8.2]
include:
- laravel: ^9.50.2
testbench: ^7.22
- laravel: 10.*
testbench: 8.*

- laravel: '11.0'
testbench: ^9.0
exclude:
- laravel: 11.*
php: 8.1

timeout-minutes: 10
name: "${{ matrix.php }} / ${{ matrix.laravel }} (${{ matrix.dependency-version }})"

name: ${{ matrix.php }} / ${{ matrix.laravel }} (${{ matrix.dependency-version }})

steps:
- name: Checkout code
Expand Down Expand Up @@ -52,7 +58,7 @@ jobs:

- name: Install dependencies
run: composer require --no-interaction --prefer-dist --no-update "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}"

- name: Set dependency version
run: composer update --no-interaction --prefer-dist --with-all-dependencies --prefer-${{ matrix.dependency-version }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"orchestra/testbench": "^7.10|^8|9.x-dev|10.x-dev|dev-master",
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.3.2",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5|^10.5"
},
"autoload": {
"psr-4": {
Expand Down