Skip to content

use array for command arument (fix #133 issue) (#149) #14

use array for command arument (fix #133 issue) (#149)

use array for command arument (fix #133 issue) (#149) #14

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
env:
SYMFONY_ENV: test
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '8.1'
- '8.2'
- '8.3'
symfony-versions: [false]
include:
- description: 'Symfony 5.*'
php: '8.1'
symfony-versions: '^5.4'
- description: 'Symfony 6.*'
php: '8.1'
symfony-versions: '^6.4'
- description: 'Symfony 7.*'
php: '8.2'
symfony-versions: '^7.0'
name: PHP ${{ matrix.php }} ${{ matrix.description }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}-${{ matrix.symfony-versions }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer config extra.symfony.require ${{ matrix.symfony-versions }}
if: matrix.symfony-versions
- name: Install dependencies
run: composer install
- name: Run PHPUnit tests
run: |
./vendor/bin/phpunit