PHP 8.4 compatibility #2572
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: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| tests-on-linux: | |
| name: "Tests on linux" | |
| runs-on: "ubuntu-latest" | |
| continue-on-error: ${{ matrix.experimental }} | |
| services: | |
| redis: | |
| image: redis:6.0 | |
| ports: | |
| - 6379:6379 | |
| options: --entrypoint redis-server | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - php-version: "8.1" | |
| experimental: false | |
| - php-version: "8.2" | |
| experimental: false | |
| - php-version: "8.3" | |
| experimental: false | |
| - php-version: "8.4" | |
| experimental: false | |
| steps: | |
| - name: "Checkout code" | |
| uses: "actions/checkout@v4" | |
| - name: "Setup PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| extensions: mbstring, sqlite, pdo, pdo_sqlite | |
| ini-values: "memory_limit=-1" | |
| tools: composer:v2 | |
| coverage: none | |
| - name: "Install dependencies" | |
| uses: nick-invision/[email protected] | |
| with: | |
| timeout_minutes: 5 | |
| max_attempts: 5 | |
| command: >- | |
| composer install | |
| --prefer-dist | |
| --no-interaction | |
| --no-progress | |
| ${{ matrix.composer-options }} | |
| - name: "Run tests" | |
| run: >- | |
| ./vendor/bin/phpunit | |
| --display-incomplete | |
| --display-skipped | |
| --display-deprecations | |
| --display-errors | |
| --display-notices | |
| --display-warning |