Skip to content

9 symfony 7 and php 83 support #53

9 symfony 7 and php 83 support

9 symfony 7 and php 83 support #53

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
lint:
name: Source code linting and unit testing
runs-on: ubuntu-latest
steps:
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
-
uses: actions/checkout@v2
-
name: Validate composer.json
run: composer validate
-
name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: composer-php-8.2
-
name: Install composer dependencies
run: composer install --prefer-dist --no-progress
-
name: PHP Linting
run: composer lint:php
-
name: Editorconfig Linting
run: composer lint:editorconfig
unittest:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
php-version: [8.3, 8.2]
name: Unit (PHP ${{ matrix.php-version }})
steps:
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
-
uses: actions/checkout@v2
-
name: Validate composer.json
run: composer validate
-
name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: composer-php-${{ matrix.php-version }}
-
name: Install composer dependencies
run: composer install --prefer-dist --no-progress
-
name: PHP Unit Testing
run: composer test:php