Set PHP extensions.

pull/255/head
Cédric Bonhomme 2019-12-16 15:32:33 +01:00
parent 5501cb9a54
commit 84f9918285
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 12 additions and 1 deletions

View File

@ -10,6 +10,18 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.3'
extensions: imagick, intl, xml, mysql #optional, setup extensions
ini-values: post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration
coverage: xdebug #optional, setup coverage driver
pecl: false #optional, setup PECL
# - name: Install PHP extensions
# run: sudo apt-get install -y php apache2 libapache2-mod-php php-curl php-gd php-mysql php-pear php-apcu php-xml php-mbstring php-intl php-imagick php-zip
- name: Validate composer.json and composer.lock - name: Validate composer.json and composer.lock
run: composer validate run: composer validate
@ -21,4 +33,3 @@ jobs:
# - name: Run test suite # - name: Run test suite
# run: composer run-script test # run: composer run-script test