Skip to content

Commit

Permalink
update github actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 31, 2020
1 parent 75277c0 commit 11994be
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,23 @@ jobs:
uses: actions/checkout@v2

- name: Setup PHP Env
timeout-minutes: 8
timeout-minutes: 5
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php}}
tools: pecl, php-cs-fixer, phpunit
extensions: mbstring, dom, fileinfo, mysql, openssl, redis, swoole-4.4.19 #optional, setup extensions
extensions: mbstring, dom, fileinfo, mysql, openssl, igbinary, redis # , swoole-4.4.19 #optional, setup extensions
ini-values: post_max_size=56M, short_open_tag=On #optional, setup php.ini configuration
coverage: none #optional, setup coverage driver: xdebug, none

- name: Setup swoole extensions
timeout-minutes: 5
run: |
sudo pecl install -f swoole-4.4.19
php -m
# echo 'no' | pecl install -f redis
# sudo pecl update-channels && pecl install -f msgpack && pecl install -f igbinary && php -m

- name: Validate composer.json and composer.lock
run: composer validate

Expand Down

0 comments on commit 11994be

Please sign in to comment.