tools: github actions: fix PHP 8.0 tests
- `--ignore-platform-req=php` is no longer needed - fixes https://github.com/shaarli/Shaarli/issues/1933
This commit is contained in:
parent
8226308d67
commit
b9938cf084
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -38,10 +38,10 @@ jobs:
|
|||
- name: Update dependencies for PHP 8.x
|
||||
if: ${{ matrix.php-versions == '8.0' || matrix.php-versions == '8.1' }}
|
||||
run: |
|
||||
composer update --ignore-platform-req=php && \
|
||||
composer remove --dev --ignore-platform-req=php phpunit/phpunit && \
|
||||
composer require --dev --ignore-platform-req=php phpunit/php-text-template ^2.0 && \
|
||||
composer require --dev --ignore-platform-req=php phpunit/phpunit ^9.0
|
||||
composer update && \
|
||||
composer remove --dev phpunit/phpunit && \
|
||||
composer require --dev phpunit/php-text-template ^2.0 && \
|
||||
composer require --dev phpunit/phpunit ^9.0
|
||||
|
||||
- name: Update dependencies for PHP 7.x
|
||||
if: ${{ matrix.php-versions != '8.0' && matrix.php-versions != '8.1' }}
|
||||
|
|
Loading…
Reference in a new issue