Add error reporting when handling exception in PHP Laravel #146
Workflow file for this run
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: Samples PHP 8.x | |
| on: | |
| push: | |
| paths: | |
| - samples/server/petstore/php-symfony/SymfonyBundle-php/** | |
| - samples/server/petstore/php-flight/** | |
| - samples/server/petstore/php-laravel/** | |
| pull_request: | |
| paths: | |
| - samples/server/petstore/php-symfony/SymfonyBundle-php/** | |
| - samples/server/petstore/php-flight/** | |
| - samples/server/petstore/php-laravel/** | |
| jobs: | |
| build: | |
| name: Build PHP projects | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.1" | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| sample: | |
| # servers | |
| - samples/server/petstore/php-symfony/SymfonyBundle-php/ | |
| - samples/server/petstore/php-flight/ | |
| - samples/server/petstore/php-laravel/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP with tools | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "${{ matrix.php }}" | |
| tools: php-cs-fixer, phpunit | |
| - name: composer install | |
| working-directory: ${{ matrix.sample }} | |
| run: composer install | |
| - name: phpunit | |
| working-directory: ${{ matrix.sample }} | |
| run: vendor/bin/phpunit |