load capture: load additional fields on generate #3573
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'fix' | |
| paths: | |
| - '**.php' | |
| - '**.json' | |
| - '**.yml' | |
| - 'composer.lock' | |
| - 'phpstan.neon' | |
| pull_request: | |
| paths: | |
| - '**.php' | |
| - '**.json' | |
| - '**.yml' | |
| - 'composer.lock' | |
| - 'phpstan.neon' | |
| jobs: | |
| test: | |
| name: Test on PHP ${{ matrix.php-versions }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| php-versions: ['8.3', '8.4', '8.5'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup PHP with Composer | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| tools: composer:v2 | |
| ini-values: memory_limit=1024M | |
| - name: Composer install | |
| run: composer install | |
| - name: Static analysis | |
| run: vendor/bin/phpstan | |
| - name: Unit testing | |
| run: vendor/bin/phpunit tests/unit |