Remove usage of the deprecated base extension from HttpKernel #89
Workflow file for this run
This file contains 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
on: [push, pull_request] | |
name: Unit test | |
jobs: | |
tests: | |
name: PHP ${{ matrix.php }} / SF ^${{ matrix.symfony }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [7.4, 8.0, 8.1, 8.2, 8.3] | |
symfony: [5.4.*, 6.4.*, 7.0.*] | |
exclude: | |
- php: 7.4 | |
symfony: 6.4.* | |
- php: 7.4 | |
symfony: 7.0.* | |
- php: 8.0 | |
symfony: 6.4.* | |
- php: 8.0 | |
symfony: 7.0.* | |
- php: 8.1 | |
symfony: 7.0.* | |
services: | |
rabbitmq: | |
# 3.8.10 and later versions has enabled TLSv1.3 by default which is not supported by PHP images | |
# TLSv1.3 can be disabled by using configuration file, but not environment variables | |
image: rabbitmq:3.8.9-management | |
ports: | |
- 5671:5671 | |
- 5672:5672 | |
- 15671:15671 | |
- 15672:15672 | |
env: | |
RABBITMQ_DEFAULT_VHOST: swarrot | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: amqp | |
coverage: none | |
- name: Start broker service | |
run: docker restart ${{ job.services.rabbitmq.id }} | |
- name: Install Symfony Flex | |
run: | | |
composer global config --no-plugins allow-plugins.symfony/flex true | |
composer global require --no-progress --no-scripts symfony/flex | |
- name: Install the dependencies | |
env: | |
SYMFONY_REQUIRE: ${{ matrix.symfony }} | |
run: composer install --no-interaction --prefer-dist --no-progress --no-suggest | |
- name: Wait for broker service | |
run: Tests/bin/wait_broker | |
- name: Run the unit tests | |
run: vendor/bin/phpunit --colors=always |