Skip to content

Commit

Permalink
#82 - Change step of installing Phalcon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Jan 16, 2020
1 parent 84d79ab commit 7651ada
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ jobs:
- name: Copy .env file
run: cp .env.example .env

- name: Add Phalcon package repository
run: curl -s https://packagecloud.io/install/repositories/phalcon/mainline/script.deb.sh | sudo bash

- name: Install PSR and Xdebug PECL Packages
run: sudo apt-get install php-pear php-xdebug && sudo pecl install --force psr

- name: Install Phalcon
run: sudo apt-get install php7.3-phalcon

- name: Enable PHP PSR Extension
run: echo 'extension=psr.so' | sudo tee -a /etc/php/7.3/mods-available/phalcon.ini && cat /etc/php/7.3/mods-available/phalcon.ini
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.2'
tools: pecl
extensions: mbstring, intl, json, phalcon

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

0 comments on commit 7651ada

Please sign in to comment.