Ajout des extensions php dans le fichier de configuration de CI #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI PHPUnit | |
on: [push] | |
jobs: | |
ci-phpunit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "8.1.2" | |
extensions: ext-curl ext-zlib ext-intl ext-ctype ext-phar ext-pcov ext-xdebug ext-pcntl ext-libxml ext-xml ext-soap ext-posix ext-mbstring ext-dom ext-tokenizer ext-xmlwriter ext-json ext-zip | |
coverage: "pcov" | |
- uses: php-actions/composer@v6 | |
- name: PHPUnit Tests | |
uses: php-actions/phpunit@master | |
with: | |
bootstrap: vendor/autoload.php | |
configuration: tests/phpunit.xml | |
# php_extensions: curl zlib intl ctype phar pcov xdebug pcntl libxml xml soap posix mbstring dom tokenizer xmlwriter json zip | |
args: --testdox |