Skip to content

Commit

Permalink
Patch phpunit >= 9.0.0 < 9.4.3 for PHP 8.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 14, 2023
1 parent 754f1cd commit 4edfd1d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,14 @@ jobs:
if: "matrix.phpunit-version == '8.5.19'"
run: "vendor/bin/phpunit --colors=always --configuration=test/Unit/phpunit.xml"

# https://github.com/sebastianbergmann/phpunit/pull/4486
- name: "Patch phpunit >= 9.0.0 < 9.4.3 for PHP 8.3+"
if: "matrix.php-version == '8.3' && matrix.phpunit-version == '9.0.0' && matrix.dependencies == 'lowest'"
run: |
cd vendor/phpunit/phpunit
wget -O gh-4486.patch https://github.com/sebastianbergmann/phpunit/commit/0a488f22925b3c8732338ef0fbfe7f13cb4cf1d2.patch
patch -p1 < gh-4486.patch
- name: "Run end-to-end tests with phpunit/phpunit:8.5.19"
if: "matrix.phpunit-version == '8.5.19'"
run: "vendor/bin/phpunit --colors=always --configuration=test/EndToEnd/Version8/phpunit.xml"
Expand Down

0 comments on commit 4edfd1d

Please sign in to comment.