enhance dropdown section with additional usage information and improv… #592
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - 1.x | |
| - 2.x | |
| pull_request: | |
| branches: | |
| - 1.x | |
| - 2.x | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: [8.2] | |
| laravel: [11.*] | |
| name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP, with composer and extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Install Composer dependencies | |
| run: | | |
| composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update | |
| composer update --no-interaction --no-suggest | |
| - name: Setup Node & Build Assets | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18.x" | |
| - run: npm install | |
| - run: npm run build | |
| - name: Generate Artisan Key | |
| run: cp .env.example .env && php artisan key:generate | |
| - name: Route Integrity | |
| run: php artisan route:list | |
| - name: Pint | |
| run: ./vendor/bin/pint --test | |
| - name: Tests | |
| run: ./vendor/bin/pest |