Skip to content

Commit

Permalink
Enable pdlib on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Jan 11, 2024
1 parent a64fe05 commit 7c9e0f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: pdlib-https://github.com/goodspb/pdlib@master, zip, gd, mbstring, iconv, fileinfo, intl, mysql, pdo_mysql
extensions: zip, gd, mbstring, iconv, fileinfo, intl, mysql, pdo_mysql
coverage: xdebug

- name: Install pdlib
run: |
sudo apt update -y && sudo apt install -y libopenblas-dev liblapack-dev
sudo pecl install https://services.delellis.com.ar/data/facerecognition/pdlib-1.1.0.tgz
sudo sh -c 'echo "extension=pdlib.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`'
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
run: |
sudo apt update -y && sudo apt install -y libopenblas-dev liblapack-dev
sudo pecl install https://services.delellis.com.ar/data/facerecognition/pdlib-1.1.0.tgz
sudo sh -c 'echo "extension=pdlib.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`'
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
Expand Down

0 comments on commit 7c9e0f3

Please sign in to comment.