Implement Named argument rule (#333) #431
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: Test OS | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-windows: | |
name: Windows | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: composer:v2 | |
ini-file: development | |
- name: Install Composer dependencies | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
composer-options: --prefer-dist --prefer-stable | |
- name: Run tests with PHPUnit | |
run: vendor/bin/phpunit --exclude-group=skip-windows | |
test-macos: | |
name: Mac OS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: composer:v2 | |
ini-file: development | |
- name: Install Composer dependencies | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
composer-options: --prefer-dist --prefer-stable | |
- name: Run tests with PHPUnit | |
run: vendor/bin/phpunit |