Ajout d'image de progression dans le readme #14
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: curl , zlib , intl , ctype , phar , pcov , xdebug , pcntl , libxml , xml , soap , posix , mbstring , dom , tokenizer , xmlwriter , json , zip | |
- name: "Install dependencies with Composer" | |
uses: "ramsey/composer-install@v2" | |
- name: PHPUnit Tests | |
uses: php-actions/phpunit@master | |
env: | |
XDEBUG_MODE: coverage | |
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 |