feat(amqp): make amqp v2 compatible #35
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
name: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
php-version: ['7.4', '8.0', '8.1' ] | |
symfony-version: ['^4.4', '^5.0'] | |
amqp-version: ['1.11.0', '2.1.2'] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@master | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: xdebug2 | |
extensions: amqp-${{ matrix.amqp-version }} | |
- name: Install symfony version from matrix | |
env: | |
SYMFONY_VERSION: ${{ matrix.symfony-version }} | |
run: composer require symfony/symfony:$SYMFONY_VERSION --no-update | |
- name: Install dependencies | |
run: composer update --prefer-dist --no-interaction | |
- name: Unit tests | |
run: bin/atoum |