Symfony 7.0 support #16
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: PHPUnit | |
on: | |
pull_request: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
php: | |
- '7.2' | |
- '7.4' | |
- '8.0' | |
- '8.1' | |
- '8.2' | |
symfony: | |
- '5.0.*' | |
- '5.4.*' | |
- '6.0.*' | |
- '6.4.*' | |
- '7.0.*' | |
exclude: | |
- php: '7.2' | |
symfony: '6.0.*' # requires PHP ^8.0.2 | |
- php: '7.4' | |
symfony: '6.0.*' # requires PHP ^8.0.2 | |
- php: '8.0' | |
symfony: '6.4.*' # requires PHP ^8.1.0 | |
runs-on: ${{ matrix.os }} | |
env: | |
SYMFONY: ${{ matrix.symfony }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
ini-values: date.timezone='UTC' | |
tools: composer:v2 | |
- name: Require symfony | |
run: composer --no-update require symfony/symfony:"${SYMFONY}" | |
- name: Install dependencies | |
run: | | |
composer update | |
vendor/bin/simple-phpunit install | |
- name: Test | |
run: | | |
composer validate --strict --no-check-lock | |
vendor/bin/simple-phpunit --coverage-text --verbose |