File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 PHPUnit :
9- name : PHPUnit (PHP ${{ matrix.php }})
9+ name : PHPUnit (PHP ${{ matrix.php }} ${{ matrix.event-loop }} )
1010 runs-on : ubuntu-20.04
1111 strategy :
1212 matrix :
13+ event-loop :
14+ - ' '
15+ - ' event'
16+ - ' uv'
1317 php :
1418 - 8.1
1519 - 8.0
2832 with :
2933 php-version : ${{ matrix.php }}
3034 coverage : xdebug
35+ extensions : socket
36+ - run : sudo apt-get update && sudo apt-get install libevent-dev
37+ - name : Install ext-event
38+ run : |
39+ echo "yes" | sudo pecl install event
40+ echo "extension=event.so" | sudo tee -a "$(php -r 'echo php_ini_loaded_file();')"
41+ if : ${{ matrix.event-loop == 'event' }}
42+ - name : Install ext-uv
43+ run : |
44+ sudo add-apt-repository ppa:ondrej/php -y && sudo apt-get update -q && sudo apt-get install libuv1-dev
45+ echo "yes" | sudo pecl install uv-beta
46+ echo "extension=uv.so" >> "$(php -r 'echo php_ini_loaded_file();')"
47+ if : ${{ matrix.event-loop == 'uv' }}
3148 - run : composer install
3249 - run : vendor/bin/phpunit --coverage-text
3350 if : ${{ matrix.php >= 7.3 }}
You can’t perform that action at this time.
0 commit comments