Skip to content

Bump symfony/validator from 6.4.4 to 6.4.6 #435

Bump symfony/validator from 6.4.4 to 6.4.6

Bump symfony/validator from 6.4.4 to 6.4.6 #435

Workflow file for this run

name: build
on: [push]
jobs:
coding-standards:
name: Coding Standards Check
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: locked
composer-options: --no-ansi --no-interaction --no-progress
- name: Run ecs check
run: vendor/bin/ecs check
static-analysis:
name: Static Analysis
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: locked
composer-options: --no-ansi --no-interaction --no-progress
- name: Run PHPStan analyse
run: vendor/bin/phpstan analyse --memory-limit 2G
- name: Run Psalm analyse
run: vendor/bin/psalm
test:
name: Tests
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
dependencies:
- highest
- locked
operating-system:
- ubuntu-latest
php-version:
- 8.1
- 8.2
- 8.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Initialize tests
run: make initialize
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --no-ansi --no-interaction --no-progress
- name: Run unit tests
run: vendor/bin/phpunit --testsuite Unit
- name: Run integration tests
run: vendor/bin/phpunit --testsuite Integration
coverage:
name: Tests Coverage
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: pcov
- name: Initialize tests
run: make initialize
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: locked
composer-options: --no-ansi --no-interaction --no-progress
- name: PHPUnit run with coverage
run: vendor/bin/phpunit --coverage-clover=clover.xml
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: clover.xml
verbose: true