Repository navigation
Add laravel/pao for agent-optimized test output (#178) #722
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: Run Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| php-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| php: [8.3, 8.4, 8.5] | |
| laravel: [12.*, 13.*] | |
| stability: [prefer-lowest, prefer-stable] | |
| os: [ubuntu-latest] | |
| dependency-version: [prefer-stable] | |
| name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6.0.2 | |
| - name: Cache dependencies | |
| uses: actions/cache@v5.0.5 | |
| with: | |
| path: ~/.composer/cache/files | |
| key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@2.37.1 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick | |
| coverage: none | |
| - name: Install dependencies | |
| run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest | |
| - name: Execute tests | |
| run: vendor/bin/pest |