Skip to content

Update symfony/finder requirement from ^4.0|^5.0|^6.0 to ^7.1.4 #281

Update symfony/finder requirement from ^4.0|^5.0|^6.0 to ^7.1.4

Update symfony/finder requirement from ^4.0|^5.0|^6.0 to ^7.1.4 #281

name: Testing and Code Quality
on: [push, pull_request]
jobs:
PHPCS:
name: Code Sniffing
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 'Composer install'
uses: docker://composer:2.2
with:
args: install
- name: 'Code sniffing'
uses: docker://php:8.1-cli
with:
args: "vendor/bin/php-cs-fixer fix src --dry-run"
PHPUnit-Symfony45:
name: PHPUnit testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["7.2", "7.3", "7.4", "8.0", "8.1"]
composer: ["1.10", "2.0", "2.1", "2.2"]
symfony: ["^4.0", "^5.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 'Unit testing'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:${{ matrix.composer }}
- run: composer require "symfony/finder:${{ matrix.symfony }}" "symfony/filesystem:${{ matrix.symfony }}"
- run: composer install
- run: vendor/bin/phpunit
PHPUnit-Symfony56:
name: PHPUnit testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1"]
composer: ["2.0", "2.1", "2.2", "2.3"]
symfony: ["^5.4", "^6.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 'Unit testing'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:${{ matrix.composer }}
- run: composer require "symfony/finder:${{ matrix.symfony }}" "symfony/filesystem:${{ matrix.symfony }}"
- run: composer install
- run: vendor/bin/phpunit
BuildDone:
name: PHP full build
needs: [PHPCS, PHPUnit-Symfony45, PHPUnit-Symfony56]
runs-on: ubuntu-latest
steps:
- run: "echo build done"