[framework] messenger: prevent errors when MESSENGER_TRANSPORT_DSN is… #185
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] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
name: "Checks and tests" | |
jobs: | |
checks-and-tests: | |
name: Run checks and tests in PHP ${{ matrix.php-versions }} ${{ matrix.composer-prefered-dependencies }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
php-versions: ['8.3'] | |
composer-prefered-dependencies: ['--prefer-lowest', ''] | |
fail-fast: false | |
steps: | |
- name: GIT checkout branch - ${{ github.ref }} | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Install PHP, extensions and tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: bcmath, gd, intl, pdo_pgsql, redis, pgsql, zip | |
tools: composer | |
- name: Install Composer dependencies | |
run: composer update --optimize-autoloader --no-interaction ${{ matrix.composer-prefered-dependencies }} | |
- name: Run parallel-lint | |
run: php vendor/bin/parallel-lint ./src ./tests ./examples | |
- name: Run Easy Coding Standards | |
run: php vendor/bin/ecs check --verbose ./src ./tests ./examples | |
- name: Run PHPUnit | |
run: php vendor/bin/phpunit tests |