Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Support PHPUnit 11.4 #242

Merged
merged 6 commits into from
Sep 24, 2024
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
13 changes: 10 additions & 3 deletions .github/workflows/parallel-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- "^7.3"
phpunit:
- "^10.5"
- "~11.0.0"
- "^11.0"
dependencies:
- "highest"
experimental:
Expand All @@ -42,13 +42,13 @@ jobs:

- name: Install Paratest
run: |
composer require "nunomaduro/collision:${{ matrix.collision }}" "brianium/paratest:${{ matrix.paratest }}" "phpunit/phpunit:${{ matrix.phpunit }}" --dev --no-interaction --no-update
composer require "nunomaduro/collision:${{ matrix.collision }}" "brianium/paratest:${{ matrix.paratest }}" --dev --no-interaction --no-update

- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --prefer-stable --no-cache"
composer-options: "--prefer-dist --prefer-stable --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}"

- name: Installed dependencies
run: |
Expand All @@ -58,3 +58,10 @@ jobs:
run: ./testbench package:test --parallel --exclude-group commander,without-parallel,database,session --no-coverage
env:
RAY_ENABLED: false
if: matrix.phpunit == '^10.5'

- name: Execute tests (with deprecations)
run: ./testbench package:test --parallel --exclude-group commander --exclude-group without-parallel --exclude-group database --exclude-group session --no-coverage
env:
RAY_ENABLED: false
if: matrix.phpunit != '^10.5'
1 change: 1 addition & 0 deletions .github/workflows/strict-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- "~11.1.0"
- "~11.2.0"
- "~11.3.0"
- "~11.4.0"
dependencies:
- "highest"
experimental:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- "~11.0.0"
- "~11.2.0"
- "~11.3.0"
- "~11.4.0"
dependencies:
- "highest"
- "lowest"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"laravel/framework": "<11.11.0 || >=12.0.0",
"laravel/serializable-closure": "<1.3.0 || >=2.0.0",
"nunomaduro/collision": "<8.0.0 || >=9.0.0",
"phpunit/phpunit": "<10.5.0 || 11.0.0 || >=11.4.0"
"phpunit/phpunit": "<10.5.0 || 11.0.0 || >=11.5.0"
},
"suggest": {
"ext-pcntl": "Required to use all features of the console signal trapping.",
Expand Down
Loading