Docs: add 1.1.3 changelog entry #312
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: Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| php: [ 8.3, 8.4, 8.5 ] | |
| laravel: [ 11.*, 12.*, 13.* ] | |
| dependency-version: [ prefer-lowest, prefer-stable ] | |
| include: | |
| - laravel: 11.* | |
| testbench: 9.* | |
| - laravel: 12.* | |
| testbench: 10.* | |
| - laravel: 13.* | |
| testbench: 11.* | |
| exclude: | |
| # Laravel 11 supports PHP 8.2-8.4 only | |
| - laravel: 11.* | |
| php: 8.5 | |
| name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, http | |
| coverage: none | |
| - name: Constrain Laravel and Testbench versions | |
| run: > | |
| composer require --dev --no-interaction --no-update | |
| "laravel/framework:${{ matrix.laravel }}" | |
| "orchestra/testbench:${{ matrix.testbench }}" | |
| - name: Install dependencies | |
| run: > | |
| composer update --${{ matrix.dependency-version }} | |
| --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
| - name: Execute tests | |
| run: composer run test | |
| # Aggregate gate: a single, stable check name for branch protection to require, | |
| # so the ruleset never needs updating when the PHP/Laravel matrix changes. | |
| tests-passed: | |
| name: All tests passed | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: always() | |
| steps: | |
| - name: Confirm every matrix job succeeded | |
| run: | | |
| if [ "${{ needs.test.result }}" != "success" ]; then | |
| echo "One or more test matrix jobs did not succeed (result: ${{ needs.test.result }})." | |
| exit 1 | |
| fi | |
| echo "All test matrix jobs passed." |