Merge pull request #1939 from nodiscc/fix-php8-tests
tools: github actions: fix PHP 8.0 tests
This commit is contained in:
commit
f3316d707a
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
|
- name: Update dependencies for PHP 8.x
|
||||||
if: ${{ matrix.php-versions == '8.0' || matrix.php-versions == '8.1' }}
|
if: ${{ matrix.php-versions == '8.0' || matrix.php-versions == '8.1' }}
|
||||||
run: |
|
run: |
|
||||||
composer update --ignore-platform-req=php && \
|
composer update && \
|
||||||
composer remove --dev --ignore-platform-req=php phpunit/phpunit && \
|
composer remove --dev phpunit/phpunit && \
|
||||||
composer require --dev --ignore-platform-req=php phpunit/php-text-template ^2.0 && \
|
composer require --dev phpunit/php-text-template ^2.0 && \
|
||||||
composer require --dev --ignore-platform-req=php phpunit/phpunit ^9.0
|
composer require --dev phpunit/phpunit ^9.0
|
||||||
|
|
||||||
- name: Update dependencies for PHP 7.x
|
- name: Update dependencies for PHP 7.x
|
||||||
if: ${{ matrix.php-versions != '8.0' && matrix.php-versions != '8.1' }}
|
if: ${{ matrix.php-versions != '8.0' && matrix.php-versions != '8.1' }}
|
||||||
|
|
Loading…
Reference in a new issue