Merge pull request #1155 from lcobucci/require-php-8.4 #4420
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: "PHPUnit tests" | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| phpunit: | |
| name: "PHPUnit tests" | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| dependencies: | |
| - "lowest" | |
| - "highest" | |
| - "locked" | |
| php-version: | |
| - "8.4" | |
| - "8.5" | |
| operating-system: | |
| - "ubuntu-latest" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v6.0.2" | |
| - name: "Install PHP" | |
| uses: "shivammathur/setup-php@2.37.0" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| ini-values: memory_limit=-1 | |
| tools: composer:v2, cs2pr | |
| - name: "Install dependencies" | |
| uses: "ramsey/composer-install@4.0.0" | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: "Tests" | |
| run: "make phpunit" |