Skip to content

[TASK] Symfony 6 Upgrade (#4) #33

[TASK] Symfony 6 Upgrade (#4)

[TASK] Symfony 6 Upgrade (#4) #33

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-php:
name: Build PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: pcov
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install
run: |
composer install --no-progress --no-interaction --ansi
- name: Lint
run: composer t3g:test:php:lint
- name: CGL
run: composer t3g:cgl
- name: Functional Tests
run: composer t3g:test:php:functional