Skip to content

Commit

Permalink
[9.x] Support PHPUnit 11.4 (#242)
Browse files Browse the repository at this point in the history
* [9.x] Support PHPUnit 11.4

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 24, 2024
1 parent a293869 commit 5b6a99e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
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

0 comments on commit 5b6a99e

Please sign in to comment.