File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 47
47
48
48
- name : Install dependencies
49
49
if : steps.composer-cache.outputs.cache-hit != 'true'
50
- run : composer update --prefer-dist ${{ matrix.setup != 'next' && format('--prefer-{0}', matrix.setup) || '' }} --no-progress
50
+ run : |
51
+ ${{ matrix.php >= 7.2 && matrix.php < 8 && matrix.setup == 'lowest' && 'composer require --no-update "phpunit/phpunit:^5.7.27||^6.5.14||^7.5.20" --dev --no-interaction;' || '' }}
52
+ ${{ matrix.php >= 8 && 'composer require --no-update phpunit/phpunit:^8.5.33 --dev --no-interaction && composer require --no-update phug/phug:^1.9.0 --no-interaction;' || '' }}
53
+ composer update --prefer-dist ${{ matrix.setup != 'next' && format('--prefer-{0}', matrix.setup) || '' }} --no-progress
51
54
52
55
- name : Run test suite
53
56
run : vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
Original file line number Diff line number Diff line change 38
38
39
39
- name : Install dependencies
40
40
if : steps.composer-cache.outputs.cache-hit != 'true'
41
- run : composer update --prefer-dist ${{ matrix.setup != 'next' && format('--prefer-{0}', matrix.setup) || '' }} --no-progress --no-interaction
41
+ run : |
42
+ ${{ matrix.php >= 7.2 && matrix.php < 8 && matrix.setup == 'lowest' && 'composer require --no-update "phpunit/phpunit:^5.7.27||^6.5.14||^7.5.20" --dev --no-interaction;' || '' }}
43
+ ${{ matrix.php >= 8 && 'composer require --no-update phpunit/phpunit:^8.5.33 --dev --no-interaction && composer require --no-update phug/phug:^1.9.0 --no-interaction;' || '' }}
44
+ composer update --prefer-dist ${{ matrix.setup != 'next' && format('--prefer-{0}', matrix.setup) || '' }} --no-progress --no-interaction
42
45
env :
43
46
MULTI_TESTER_LABELS : install
44
47
You can’t perform that action at this time.
0 commit comments