Skip to content

Commit

Permalink
remove temporary workaround about PHPUnit 9.6; restore official tools…
Browse files Browse the repository at this point in the history
… from shivammathur/setup-php@v2
  • Loading branch information
llaville authored and icanhazstring committed Feb 23, 2024
1 parent 6e9baec commit f4c3353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/validate-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
php: [ "7.4", "8.0", "8.1", "8.2" ]
os: [ "ubuntu-latest" ]
experimental: [ false ]
tools: ["phpunit:9.6", "phpunit:10.5" ]
tools: ["phpunit:9.6.17", "phpunit:10.5" ]

steps:
- name: Checkout
Expand All @@ -84,10 +84,10 @@ jobs:

- # https://github.com/sebastianbergmann/phpunit/tree/9.6
name: Execute tests with PHPUnit 9
if: matrix.tools == 'phpunit:9.6'
run: vendor/bin/phpunit --colors=always --coverage-text --do-not-cache-result --configuration=phpunit-9.xml
if: matrix.tools == 'phpunit:9.6.17'
run: phpunit --colors=always --coverage-text --do-not-cache-result --configuration=phpunit-9.xml

- # https://github.com/sebastianbergmann/phpunit/tree/10.5
name: Execute tests with PHPUnit 10
if: matrix.tools == 'phpunit:10.5' && matrix.php != '7.4' && matrix.php != '8.0'
run: vendor/bin/phpunit --colors=always --coverage-text --do-not-cache-result --configuration=phpunit-10.xml --no-progress
run: phpunit --colors=always --coverage-text --do-not-cache-result --configuration=phpunit-10.xml --no-progress

0 comments on commit f4c3353

Please sign in to comment.