File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 matrix :
1919 os : [ubuntu-latest, windows-latest]
2020 php : [8.4]
21+ phpunit : [10.*, 11.*, 12.*]
2122 stability : [prefer-lowest, prefer-stable]
2223
23- name : P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
24+ name : P${{ matrix.php }} - PHPUnit:${{ matrix.phpunit }} - ${{ matrix.stability }} - ${{ matrix.os }}
2425
2526 steps :
2627 - name : Checkout code
3940 echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4041
4142 - name : Install dependencies
42- run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction
43+ run : |
44+ composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
45+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4346
4447 - name : List Installed Dependencies
4548 run : composer show -D
You can’t perform that action at this time.
0 commit comments