Update daily Windows to 20241006 #472
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: PHPUnit | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
php: | |
runs-on: ubuntu-latest | |
strategy: | |
# do not stop on another job's failure | |
fail-fast: false | |
matrix: | |
php-versions: ['7.2', '7.4', '8.0'] | |
name: php${{ matrix.php-versions }} | |
steps: | |
- name: Set up php ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring, iconv, fileinfo, intl | |
coverage: none | |
- name: Checkout server | |
uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: | | |
composer install | |
sh -c "cd tests/unit/ && ../../vendor/bin/phpunit ." |