Merge branch '10.x' into 11.x #5661
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: parallel-tests | |
| on: | |
| push: | |
| branches: | |
| - '*.x' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests-on-phpunit13: | |
| runs-on: "ubuntu-latest" | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| matrix: | |
| php: | |
| - 8.4 | |
| - 8.5 | |
| collision: | |
| - "^8.0" | |
| paratest: | |
| - "^7.18" | |
| phpunit: | |
| - "~13.0.0" | |
| experimental: | |
| - false | |
| name: PHP:${{ matrix.php }} / Paratest:${{ matrix.paratest }} / PHPUnit:${{ matrix.phpunit }} ⬆️ | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo, :php-psr | |
| coverage: none | |
| - name: Install Paratest | |
| run: | | |
| composer require "nunomaduro/collision:${{ matrix.collision }}" "brianium/paratest:${{ matrix.paratest }}" --dev --no-interaction --no-update | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@v4 | |
| with: | |
| dependency-versions: "highest" | |
| composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" | |
| - name: Installed dependencies | |
| run: | | |
| composer show -D | |
| - name: Execute tests | |
| run: php testbench package:test --parallel --exclude-group commander --exclude-group without-parallel --exclude-group database --exclude-group session --no-coverage | |
| env: | |
| RAY_ENABLED: false | |
| tests-on-phpunit12: | |
| runs-on: "ubuntu-latest" | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| matrix: | |
| php: | |
| - 8.3 | |
| - 8.4 | |
| - 8.5 | |
| collision: | |
| - "^8.0" | |
| paratest: | |
| - "^7.3" | |
| phpunit: | |
| - "~12.5.8" | |
| experimental: | |
| - false | |
| name: PHP:${{ matrix.php }} / Paratest:${{ matrix.paratest }} / PHPUnit:${{ matrix.phpunit }} ⬆️ | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo, :php-psr | |
| coverage: none | |
| - name: Install Paratest | |
| run: | | |
| composer require "nunomaduro/collision:${{ matrix.collision }}" "brianium/paratest:${{ matrix.paratest }}" --dev --no-interaction --no-update | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@v4 | |
| with: | |
| dependency-versions: "highest" | |
| composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" | |
| - name: Installed dependencies | |
| run: | | |
| composer show -D | |
| - name: Execute tests | |
| run: php testbench package:test --parallel --exclude-group commander --exclude-group without-parallel --exclude-group database --exclude-group session --no-coverage | |
| env: | |
| RAY_ENABLED: false | |
| tests-on-phpunit11: | |
| runs-on: "ubuntu-latest" | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| matrix: | |
| php: | |
| - 8.3 | |
| - 8.4 | |
| collision: | |
| - "^8.0" | |
| paratest: | |
| - "^7.3" | |
| phpunit: | |
| - "~11.5.50" | |
| experimental: | |
| - false | |
| name: PHP:${{ matrix.php }} / Paratest:${{ matrix.paratest }} / PHPUnit:${{ matrix.phpunit }} ⬆️ | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo, :php-psr | |
| coverage: none | |
| - name: Install Paratest | |
| run: | | |
| composer require "nunomaduro/collision:${{ matrix.collision }}" "brianium/paratest:${{ matrix.paratest }}" --dev --no-interaction --no-update | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@v4 | |
| with: | |
| dependency-versions: "highest" | |
| composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" | |
| - name: Installed dependencies | |
| run: | | |
| composer show -D | |
| - name: Execute tests | |
| run: php testbench package:test --parallel --exclude-group commander --exclude-group without-parallel --exclude-group database --exclude-group session --no-coverage | |
| env: | |
| RAY_ENABLED: false |