fake parameters are only created when feature is enabled #45
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
name: "PHP ${{ matrix.php-version }}" | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
strategy: | |
matrix: | |
php-version: ['8.2', '8.3'] | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
tools: composer:v2 | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable | |
- name: PHP-CS-Fixer | |
run: vendor/bin/php-cs-fixer fix --diff --dry-run | |
- name: Run tests | |
run: vendor/bin/phpunit | |