Update to Symfony 7.4 #953
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: "Tests" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| fail-fast: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: "${{ matrix.operating-system }} / PHP ${{ matrix.php-version }}" | |
| runs-on: ${{ matrix.operating-system }} | |
| continue-on-error: false | |
| strategy: | |
| matrix: | |
| operating-system: ['ubuntu-latest'] | |
| php-version: ['8.2', '8.3', '8.4', '8.5'] | |
| include: | |
| - operating-system: 'macos-latest' | |
| php-version: '8.2' | |
| - operating-system: 'windows-latest' | |
| php-version: '8.2' | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v5 | |
| - name: "Install PHP with extensions" | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: "none" | |
| extensions: "intl, mbstring, pdo_sqlite, zip" | |
| php-version: ${{ matrix.php-version }} | |
| tools: composer:v2 | |
| - name: "Add PHPUnit matcher" | |
| run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
| - name: "Install dependencies" | |
| run: composer install --ansi --no-interaction --no-progress | |
| - name: "Run tests" | |
| run: vendor/bin/phpunit |