update README #66
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: run-tests | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| php: [7.4, 8.0, 8.1, 8.2, 8.3] | |
| laravel: [8.*, 9.*, 10.*, 11.*, 12.*] | |
| statamic: [3.*, 4.*, 5.*, 6.*] | |
| exclude: | |
| - laravel: 8.* | |
| php: 8.2 | |
| - laravel: 8.* | |
| php: 8.3 | |
| - laravel: 8.* | |
| statamic: 5.* | |
| - laravel: 8.* | |
| statamic: 4.* | |
| - laravel: 9.* | |
| php: 7.4 | |
| - laravel: 9.* | |
| statamic: 5.* | |
| - laravel: 10.* | |
| statamic: 3.* | |
| - laravel: 10.* | |
| php: 7.4 | |
| - laravel: 10.* | |
| php: 8.0 | |
| - laravel: 11.* | |
| php: 7.4 | |
| - laravel: 11.* | |
| php: 8.0 | |
| - laravel: 11.* | |
| php: 8.1 | |
| - laravel: 11.* | |
| statamic: 3.* | |
| - laravel: 11.* | |
| statamic: 4.* | |
| - laravel: 12.* | |
| php: 7.4 | |
| - laravel: 12.* | |
| php: 8.0 | |
| - laravel: 12.* | |
| php: 8.1 | |
| - laravel: 12.* | |
| statamic: 3.* | |
| - laravel: 12.* | |
| statamic: 4.* | |
| - laravel: 8.* | |
| statamic: 6.* | |
| - laravel: 9.* | |
| statamic: 6.* | |
| - laravel: 10.* | |
| statamic: 6.* | |
| - laravel: 11.* | |
| statamic: 6.* | |
| - statamic: 6.* | |
| php: 7.4 | |
| - statamic: 6.* | |
| php: 8.0 | |
| - statamic: 6.* | |
| php: 8.1 | |
| - statamic: 6.* | |
| php: 8.2 | |
| dependency-version: [prefer-stable] | |
| name: P${{ matrix.php }} - L${{ matrix.laravel }} - S${{ matrix.statamic }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Setup PHP | |
| 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 | |
| coverage: none | |
| - name: Setup Problem Matches | |
| run: | | |
| echo "::add-matcher::${{ runner.tool_cache }}/php.json" | |
| echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
| - name: Set minimum-stability to dev for Statamic 6 | |
| if: matrix.statamic == '6.*' | |
| run: composer config minimum-stability dev | |
| - name: Disable Composer security audit blocking | |
| run: composer config audit.block-insecure false | |
| - name: Install dependencies | |
| run: composer require laravel/framework:${{ matrix.laravel }} statamic/cms:${{ matrix.statamic }} --prefer-dist --no-interaction --no-suggest | |
| - name: Execute tests | |
| run: vendor/bin/phpunit |