mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
fix phpunit version
This commit is contained in:
@@ -33,6 +33,14 @@ jobs:
|
||||
php-version: ${{ matrix.php }}
|
||||
coverage: none
|
||||
|
||||
- name: Require phpunit 6 for php >= 7.0
|
||||
if: matrix.php >= 7.0
|
||||
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
|
||||
|
||||
- name: Require phpunit 9 for php >= 7.3
|
||||
if: matrix.php >= 7.3
|
||||
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
|
||||
|
||||
- name: Install dependencies
|
||||
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user