Fix URL of Sentry docs #446
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: PHPUnit Tests | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: [ '8.2', '8.3', '8.4' ] | |
| symfony: [ false ] | |
| deps: [ locked ] | |
| extensions: [ '' ] | |
| include: | |
| - php: '8.2' | |
| deps: lowest | |
| deprecations: max[self]=0 | |
| - php: '8.4' | |
| symfony: '7.4.*' | |
| deps: highest | |
| - php: '8.4' | |
| deps: highest | |
| monolog: '3.*' | |
| - php: '8.4' | |
| deps: locked | |
| extensions: mongodb | |
| env: | |
| SYMFONY_REQUIRE: ${{ matrix.symfony }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| ini-values: zend.exception_ignore_args=false | |
| tools: flex | |
| extensions: ${{ matrix.extensions }} | |
| - name: Configure composer | |
| if: "${{ matrix.deps == 'highest' }}" | |
| run: composer config minimum-stability dev | |
| - name: Require mongodb/mongodb if ext-mongodb is available | |
| if: "${{ contains(matrix.extensions, 'mongodb') }}" | |
| run: composer require --no-update mongodb/mongodb | |
| - name: Composer install | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: '${{ matrix.deps }}' | |
| - name: Run tests | |
| run: vendor/bin/phpunit --coverage-text |