Skip to content

CS fix

CS fix #131

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '20 16 * * SUN'
jobs:
phpunit:
name: DD ${{ matrix.dd }} SF ${{ matrix.sf }} PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { dd: '4.0.*', sf: '4.0.*', php: '7.2' }
- { dd: '^4.0', sf: '^4.0', php: '7.2' }
- { dd: '4.0.*', sf: '5.0.*', php: '7.3' }
- { dd: '^4.0', sf: '^5.0', php: '7.3' }
- { dd: '5.0.*', sf: '5.0.*', php: '7.4' }
- { dd: '^5.0', sf: '^5.0', php: '7.4' }
- { dd: '5.0.*', sf: '6.0.*', php: '8.0' }
- { dd: '^5.0', sf: '^6.0', php: '8.0' }
- { dd: '5.0.*', sf: '6.0.*', php: '8.1' }
- { dd: '^5.0', sf: '^6.0', php: '8.1' }
- { dd: '6.0.*', sf: '6.0.*', php: '8.1' }
- { dd: '^6.0', sf: '^6.0', php: '8.1' }
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Require specific dependencies versions
run: composer require matomo/device-detector:${{ matrix.dd }} symfony/framework-bundle:${{ matrix.sf }}
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Run PHPUnit
run: vendor/bin/phpunit --testdox