Drop brackets from 3.1.0 changelog heading #94
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: PHP Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [trunk] | |
| jobs: | |
| phpunit: | |
| name: PHPUnit (PHP ${{ matrix.php }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: ['8.2', '8.3', '8.4', '8.5'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| tools: composer | |
| coverage: none | |
| - name: Install dependencies | |
| run: | | |
| if composer install --no-progress 2>&1; then | |
| echo "Updating PHPUnit for best match with PHP ${{ matrix.php }}" | |
| composer update -W --no-progress phpunit/phpunit | |
| else | |
| echo "Platform reqs failed, running composer update for dev dependencies" | |
| composer update --no-progress | |
| fi | |
| - run: composer test-php |